How to use html p tag

青灯夜游
Release: 2019-05-26 18:04:12
Original
5229 people have browsed it

The p tag of

html is used to define a paragraph and will automatically create some whitespace before and after it; the browser will automatically add these spaces, or they can also be specified in the style sheet.

How to use html p tag

html How to use p tag?

Tags 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>
Copy after login

Output:

How to use html p tag

The above is the detailed content of How to use html p tag. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template