html
is an html tag used to define a paragraph. The syntax of this tag is such as "
This is a paragraph
", and itselement Some white space is automatically created before and after it, and the browser adds it automatically.
The operating environment of this article: Windows 7 system, HTML5 version, DELL G3 computer
Tag definition paragraph.
The 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.
Example
The following code marks a paragraph:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <p>这是一个段落。</p> <p>这是一个段落。</p> <p>这是一个段落。</p> </body> </html>
Effect:
Differences between HTML and XHTML
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.
Recommended study: "HTML Video Tutorial"
The above is the detailed content of What is
in html. For more information, please follow other related articles on the PHP Chinese website!