我有一个div元素,在div中,我们在p元素之间有文本.
我想添加一个标题.它应该进入内部还是外部?
哪个更好:
<p>This is text
<h3>This is my h3</h3>
More text
</p>
<p>another text<p>
Run Code Online (Sandbox Code Playgroud)
要么
<p>This is text<p>
<h3>This is my h3</h3>
<p>another text<p>
Run Code Online (Sandbox Code Playgroud)