【发布时间】:2013-03-27 10:36:42
【问题描述】:
我有一个 div 元素,在那个 div 中,我们在 p 个元素之间有文本。
我想添加一个标题。它应该进入 p 内部还是外部?
哪个更好:
<p>This is text
<h3>This is my h3</h3>
More text
</p>
<p>another text<p>
或
<p>This is text<p>
<h3>This is my h3</h3>
<p>another text<p>
【问题讨论】:
标签: html semantic-markup