<main>태그는 문서 또는 응용 프로그램의 <body>의 주요 내용을 나타낼 때 사용합니다. HTML5에서 추가되었습니다.
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="author" content="코리아뉴스" />
<title> html공부 </title>
<link rel="stylesheet" type="text/css" href="default.css" / >
<style type="text/css">
body {
color:red;
}
</style>
</head>
<body>
<main>
<section>
<h1>main태그</h1>
<p> 컨텐츠의 중심 주체를 표현합니다.</p>
</section>
<div id="related">
<p>영역 </p>
</div>
<footer>
<address> 전화 : 031-574-3659, E-mail : master@koreanews.com </address>
Copyright ⓒ 2013 Koreanews co., All Rights Reserved.
</footer>
</main>
</body>
</html>
등록된 댓글이 없습니다.