이 페이지는 최신 브라우저(SharedArrayBuffer 지원)가 필요합니다. Chrome, Edge, Firefox 또는 Safari를 최신 버전으로 업데이트해 주세요.
English
A real web page
- So far you wrote pieces of HTML. A full page wraps them in a frame.
- That frame is almost the same on every web page in the world.
- Let's meet it once — then it becomes a habit.
English
The four parts
<!DOCTYPE html>— the first line. It says: this is modern HTML.<html>— wraps the whole page.<head>— hidden information about the page (like its<title>).<body>— everything you see on the page.

탐색하기
The page skeleton as a tree
Every page is a tree: <html> 보유함 <head> (setup) and <body> (what you see).
English
<!DOCTYPE html>
<html>
<head>
<title>My first page</title>
</head>
<body>
<h1>Hello!</h1>
<p>This is a real web page.</p>
</body>
</html>
English
The title shows in the tab
- The
<title>does not appear on the page itself. - It is the name shown on the browser tab and in search results.
- Every page should have one.
English
Common mistakes
- A page needs
<html>, a<head>and a<body>. - The tab title comes from
<title>inside<head>.
English
Now you try
- Notice how
<head>and<body>sit inside<html>. - Add a title, then give a page its doctype line.
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
Give the page a title. Add <title>My Page</title> inside the <head>.
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
Start this page properly. Add <!DOCTYPE html> as the very first line.
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
Tell the browser how the text is stored, so letters such as é and 中 show correctly. Add <meta charset="utf-8"> inside the <head>, before the <title>.