This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
<p>根据定义,HTML标签是“块”元素,这意味着每个 HTML<p>元素占据自己的行。这与“内联”元素相反,其中超过 1 个这些元素可以占据同一行。元素的<p>目的是包含文本的“段落”,它是在 HTML 页面上包含不在其他 HTML 元素中的文本的一种方法,例如<input>或<cite>。还有一些方法可以使<p>元素“内联”。我想知道的是,是否有另一种方法可以将杂散文本包含在“内联”的网页上,而不是“阻止”?