n.The 16th letter of the English alphabet

html p tag syntax

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 tag example

<html>
<body>

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

<p>段落元素由 p 標(biāo)簽定義。</p> 

</body>
</html>

Run Instance?

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

<html>
<body>
<span>這是文本內(nèi)容</span>

<p>當(dāng)我們想要換行顯示文本的時(shí)候可以使用p標(biāo)簽</p> 

</body>
</html>

Run instance?

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