gpt4 book ai didi

html - 如何正确使用HTML5标签Article和Section?

转载 作者:行者123 更新时间:2023-11-28 11:22:30 26 4
gpt4 key购买 nike

我有这种结构,但我不知道如何在此模型上正确使用 HTML5 标签,如文章、部分等。

谁能告诉我如何正确包装元素?

enter image description here

最佳答案

把它想象成一个大纲

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

Source

关于html - 如何正确使用HTML5标签Article和Section?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21478162/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com