n.The 16th letter of the English alphabet

html p tag syntax

Function:Define paragraph.

Note: Thep 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

  

这是段落。

这是段落。

这是段落。

段落元素由 p 标签定义。


Run Instance»

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

  这是文本内容 

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


Run instance»

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