Home > Article > Web Front-end > What element is the p tag?
What element is the p tag?
P paragraph, it is a block element, mainly used to define paragraphs. It appears in pairs in web pages, starting with e388a4556c0f65e1904146cc1a846bee. End with 94b3e26ee717c64999d7867364b1b4a3. The e388a4556c0f65e1904146cc1a846bee element will automatically leave some space before and after it. Of course, you can also specify the space size in the style sheet.
Function: Define paragraphs.
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 标签定义。</p> </body> </html>
The above is the detailed content of What element is the p tag?. For more information, please follow other related articles on the PHP Chinese website!