HTML5 동영상강좌 바로가기 

댓글 목록

HTML 태그 - h1, h2, h3, h4, h5, h6

페이지 정보

작성자 운영자 작성일 14-12-11 12:19 조회 7,016 댓글 0

본문

 

HTML 태그 - h1, h2, h3, h4, h5, h6

<h1, h2, h3, h4, h5, h6>태그는 문서의 제목에 사용됩니다. h1이 최고 레벨 제목이고, h2, h3, h4, h5, h6순서대로 제목에 사용됩니다.

 

샘플


<!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>
  <section>
    <h1>h1, h2, h3, h4, h5, h6태그</h1> 
   <p> 문서의 제목 정의. </p>
  </section>
  <div id="related">
   <p>영역 </p>
  </div>
  <footer>
                             Copyright ⓒ 2013 Koreanews co.,  All Rights Reserved.
  </footer>
 </body> 

</html> 

댓글목록 0

등록된 댓글이 없습니다.


HTML5 동영상강좌 바로가기