h1~h6 要素

4.4.6 h1, h2, h3, h4, h5, h6 要素

カテゴリー
フロー・コンテンツ
ヘッディング・コンテンツ
formatBlock 候補
この要素を使うことができるコンテキスト:
hgroup 要素の子として
フロー・コンテンツが期待される場所
コンテンツ・モデル:
フレージング・コンテンツ
コンテンツ属性:
グローバル属性
DOMインタフェース:
interface HTMLHeadingElement : HTMLElement {};

これらの要素は、該当のセクションの見出しを表します。

これらの要素のセマンティクスと意味は、「見出しとセクション」で定義されています。

これらの要素は、それぞれの名前の数字によってランクが表されます。h1 要素は最も高いランクとなり、h6 は最も低いランクになります。そして同じ名前を持つ要素が2つあれば、それらは同じランクとなります。

これら 2 つの抜粋は同等です:

<body>
<h1>Let's call it a draw(ing surface)</h1>
<h2>Diving in</h2>
<h2>Simple shapes</h2>
<h2>Canvas coordinates</h2>
<h3>Canvas coordinates diagram</h3>
<h2>Paths</h2>
</body>
<body>
 <h1>Let's call it a draw(ing surface)</h1>
 <section>
  <h1>Diving in</h1>
 </section>
 <section>
  <h1>Simple shapes</h1>
 </section>
 <section>
  <h1>Canvas coordinates</h1>
  <section>
   <h1>Canvas coordinates diagram</h1>
  </section>
 </section>
 <section>
  <h1>Paths</h1>
 </section>
</body>

※ 原文:http://www.w3.org/TR/2011/WD-html5-20110525/sections.html#the-h1-h2-h3-h4-h5-and-h6-elements