웹표준,웹접근성(html, html5, css, css3, javascript, jQuery, jQueryMobile, snecha, senchaTouch, php, mobileWebApp)
HTML5 - header 본문
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="utf-8">
<title>HTML5 - header</title>
<style type="text/css">
/* CSS Selector */
#header { }
#custom1 header,
#custom2 header { }
section header { }
</style>
</head>
<body> <!-- body 역시 하나의 section contents -->
<!-- HTML4, XHTML1 사용방법
<div id="header"></div>
-->
<header id="header">
<!-- body section의 header 영역 -->
</header>
<section id="custom1">
<header>
<!--
section은 하나의 헤더영역을 가질 수 있습니다.
로고, 섹션의 내용을 소개하는 인트로, 검색창 담을 수 있습니다.
제목 또한 담을 수 있습니다. 하지만 반드시 와야 하는 것은 아님.
-->
</header>
</section>
<section id="custom2">
<header>
</header>
</section>
</body>
</html>
'html5' 카테고리의 다른 글
HTML5 - hgroup (0) | 2011.11.10 |
---|---|
HTML5 - nav (0) | 2011.11.10 |
HTML5 - footer (0) | 2011.11.10 |
HTML5 - aside (0) | 2011.11.10 |
HTML5 - article (0) | 2011.11.10 |