html p tag


  Translation results:

n.The 16th letter of the English alphabet

html p tagsyntax

Function: Define paragraph.

Note: The p element will automatically create some white space before and after it. The browser adds these spaces automatically, or you can specify them in your stylesheet.

Note: In HTML 4.01, all rendering attributes of the p element are deprecated. In XHTML 1.0 Strict DTD, all rendering attributes of the p element are not supported.

html p tagexample

<html>
<body>

<p>这是段落。</p>
<p>这是段落。</p>
<p>这是段落。</p>

<p>段落元素由 p 标签定义。</p> 

</body>
</html>

Run Instance»

Click the "Run Instance" button to view the online instance

<html>
<body>
<span>这是文本内容</span>

<p>当我们想要换行显示文本的时候可以使用p标签</p> 

</body>
</html>

Run instance»

Click the "Run instance" button to view the online instance

Popular Recommendations

Home

Videos

Q&A