HTML <p> Tag
A paragraph is marked up as follows:
Try it yourself »
More "Try it Yourself" examples below.
The <p> tag is supported in all major browsers.
Definition and Usage
The <p> tag defines a paragraph.
Browsers automatically add some space (margin) before and after each <p> element. The margins can be modified with CSS (with the margin properties).
Differences Between HTML 4.01 and HTML5
The align attribute is not supported in HTML5.
|Not supported in HTML5.
Specifies the alignment of the text within a paragraph
The <p> tag also supports the Global Attributes in HTML.
The <p> tag also supports the Event Attributes in HTML.
Try it Yourself - Examples
Some default behaviors of paragraphs.
Examples of how you can NOT write a poem in HTML.
HTML tutorial: HTML Paragraphs
Thank You For Helping Us!
Your message has been sent to W3Schools.