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>.
