HTML
tag
Example
The following code marks a paragraph:
<
p
This is a paragraph.
p
Try it »
(You can find more examples at the bottom of the page)
Browser support

Currently most browsers support the
tag.
Tag Definition and Usage Notes
The tag defines a paragraph.
The element automatically creates some space before and after it. The browser adds this space automatically, and you can also specify it in a stylesheet.
Differences between HTML 4.01 and HTML5
The align attribute of the tag is deprecated in HTML 4.01 and is not supported in HTML5.
property
| property | Value | Description |
|---|---|---|
| align | left |
right
center
justify | HTML5不支持。 HTML 4.01已废弃。 不赞成使用。请使用样式取代它。 Specifies段落中文本的对齐方式。 |
Global Attributes
The tag supports global attributes; see the full list in [HTML Global Attributes](/tags/ref-standardattributes.html).
Event attribute
The tag supports all [HTML Event Attributes](/tags/ref-eventattributes.html).
Related Articles
HTML Tutorial:HTML paragraph