일자 : 24-2 14주차 1차시
<!DOCTYPE html>
<html>
<head>
<meta charset="euc-kr">
<title>Page Title</title>
</head>
<body>
<h1>This is a Heading 한글</h1>
<p>This is a paragraph.</p>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Page Title</title>
</head>
<body>
<h1>This is a Heading 한글</h1>
<p>This is a paragraph.</p>
</body>
</html>
<meta charset="UTF-8">를 읽고 올바르게 해석.: Below is a list of some of the semantic elements in HTML.
| Tag | Description |
|---|---|
<article> | Defindes Independent, self-contained content |
<aside> | Defindes content aside from the page content |
<details> | Defindes additional details taht the user can view or hide |
<figcaption> | Defindes a caption for a <figure> element |
<figure> | Specifies self-contained content, like illustrations, diagram etc. |
<footer> | Defindes a footer for a document or section |
<header> | Specifies a header for a document or section |
<main> | Specifies the main content of a document |
<mark> | Defindes marked/highlighted text |
<nav> | Defindes navigation links |
<section> | Defindes a section in a documeent |
<summary> | Defindes a visible heading for a <detials> element |
<time> | Defindes a date/time |
<div>와 <span> - 콘텐츠에 대해 아무것도 알려주지 않는다. <form>, <table>, <article> - 콘텐츠를 명확하게 정의한다. 
<div id="nav">, <div class="header">, <div id="footer">와 같은 HTML 코드를 사용한다. <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Page Title</title>
</head>
<body>
<main>
</main>
</body>
</html>
<main> 요소는 문서의 주요 콘텐츠를 나타낸다. 이 요소는 페이지에서 주요한 내용만을 포함하고 있어야 하며, 사이트 내 다른 콘텐츠(헤더, 푸터 등)와는 구분된다.<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Page Title</title>
</head>
<body>
<section>
</section>
<section>
</section>
</body>
</html>
<section> 요소는 문서 내의 구획을 정의한다.<section> 요소를 사용할 수 있는 예시:<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Page Title</title>
</head>
<body>
<article>
</article>
<article>
</article>
</body>
</html>
<article> 요소는 독립적이고 자체적으로 완결된 콘텐츠를 정의한다.<article>은 독립적으로 의미가 있어야 하며, 사이트의 다른 콘텐츠와 관계없이 배포할 수 있어야 한다.<article> 요소를 사용할 수 있는 예시:<article>을 <section> 안에 넣거나 그 반대로?<article> 요소는 독립적이고 자체적인 콘텐츠를 나타내며,<section> 요소는 문서 내의 구획을 정의한다.<section> 요소 안에 <article> 요소가 포함되기도 하고, <article> 요소 안에 <section> 요소가 포함되기도 한다.<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Page Title</title>
</head>
<body>
<article>
<header>
<p></p>
</header>
<p></p>
</article>
</body>
</html>
<header> 요소는 소개 콘텐츠나 내비게이션 링크 세트를 담는 컨테이너 역할을 한다.<header> 요소에는 일반적으로 다음이 포함된다:<header> 요소를 포함할 수 있다. 그러나 <header> 요소는 <footer>, <address>, 또는 다른 <header> 요소 안에 넣을 수 없다.(마저 작성하기)