h1-h6見出しの使用とsectionhtml5で混乱しています。次の 2 つの例のうち、正しいのはどれですか?
<body>
<article>
<header>
<h1>Article heading</h1>
<p><time>0/0/00</time></p>
<div id="article-tags"></div>
</header>
<section>
<h2>Introduction</h2>
<p> ... text ... </p>
</section>
<section>
<h2>The problem itself</h2>
<p> ... text ... </p>
</section>
</article>
</body>
記事をセクションに分けて、記事全体の見出し階層に従って見出しを付けることは、私には当然のことのように思えますが、
<body>
<article>
<header>
<h1>Article heading</h1>
<p><time>0/0/00</time></p>
<div id="article-tags"></div>
</header>
<section>
<h1>Introduction</h1>
<p> ... text ... </p>
</section>
<section>
<h1>The problem itself</h1>
<p> ... text ... </p>
</section>
</article>
</body>
私はこれが多くの時間を費やしているのを見て、すべてのセクションに独自の見出し階層が必要であることを読みました.
2 番目の例が正しい場合、見出しをh2~ にする目的は何h6ですか? すべてh2を new で区切ることができ、section独自の見出し階層をh1再度開始する必要がある場合、それよりも低い見出しを使用する必要がありますかh1(それらはすべて見出し付きの独自のセクションを持つことができるため)。