HTML5でレイアウトを作成しようとしていますが、いくつかの記事を読んだ後、混乱しました。私はそれがどのように使われるべきかについていくつかの入力を得ようとしています。
以下は私が行ったり来たりするバリエーションです:
1)
<section id="content">
<h1>Heading</h1>
<div id="primary">
Some text goes here...
</div>
</section>
コンテナのように機能するためにセクションタグを使用できますか?
2)
<div id="content">
<h1>Heading</h1>
<section id="primary">
<article>
<h2>Post Title</h2>
<p>Some text goes here...</p>
</article>
</section>
<section id="primary">
<article>
<h2>Post Title</h2>
<p>Some text goes here...</p>
</article>
</section>
</div>
<section>タグを使用する正しい方法は何ですか?
<section><div>
