What is

in html

藏色散人
Release: 2021-05-13 11:33:24
Original
13327 people have browsed it

html

is an html tag used to define a paragraph. The syntax of this tag is such as "

This is a paragraph

", and its

element Some white space is automatically created before and after it, and the browser adds it automatically.

What is <p> in html

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.

What is <p> in html

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

Effect:

What is <p> in html

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!

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