我一直在寻找这是否是使用新的HTML5语义标签的正确方式,但我仍然不确定。这个标记在使用语义方面是正确的吗?
<section>
<article>
<h2>Article</h2>
<p>Description of article</p>
</article>
<article>
<h2>Article</h2>
<p>Description of article</p>
</article>
<article>
<h2>Article</h2>
<p>Description of article</p>
</article>
</section>发布于 2013-05-09 00:26:41
是的,这很好,尽管如果<section>也有一个标题就更好了,例如
<section>
<h1>Article List</h1>
<article>
<h2>Article</h2>
<p>Description of article</p>
</article>
...
</section>https://stackoverflow.com/questions/16445561
复制相似问题