我有这种结构,但我不知道如何在此模型上正确使用 HTML5 标签,如文章、部分等。
谁能告诉我如何正确包装元素?
最佳答案
把它想象成一个大纲
<section class="Tab1">
<section class="TabA">
</section>
<section class="TabB">
</section>
</section>
<section class="Tab2">
</section>
<section class="Tab3">
</section>
<section class="Tab4">
</section>
除非您自己以外的作者提供了一些东西,否则不需要文章。
article: An article is like a section, but it's intended for use with external resources. Many pages are built automatically by software, and when these pages integrate content from other sources, it's intended to use the article tag to integrate this content.
关于html - 如何正确使用HTML5标签Article和Section?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21478162/