【发布时间】:2021-11-12 06:29:01
【问题描述】:
如果我拼错了,请原谅我并纠正它。
我不确切知道如何使用这两个元素 (Article | Section)
现在我想启动一个具有完全标准 HTML 代码的网站,
现在,您认为我网站上的文章应该如何结构化?我在哪里可以更好地放置网站标题?
我被这两个选项卡住了。
<!-- 1 -->
<section>
<header>
<h1>title of page</h1>
</header>
<article>
<p>some text</p>
</article>
</section>
<!-- 2 -->
<section>
<article>
<header>
<h1>title of page</h1>
</header>
</article>
<p>some text</p>
</section>
如果两者都不正确,你有什么建议?
我的英语很差。所以我不能再用任何问题了。但我理解编码。请通过写代码和简单的句子向我解释,不要说你的问题有答案。
【问题讨论】: