HTML5 <p> Tag


How to use the output element in a form:

<p>Some Text in a paragraph.</p>
Code it Online »

Definition and Usage

The <p> tag defines a paragraph.

The p element automatically creates some space before and after itself. The space is automatically applied by the browser, or you can specify it in a style sheet.

Differences Between HTML 4.01 and HTML5

The align attribute, which was deprecated in HTML 4.01, is no longer supported in HTML5.

Tips and Notes

Hint: You should not use the <p> element when other elements are more appropriate.

Standard Attributes

The <p> tag also supports the Standard Attributes in HTML5.

Event Attributes

The <p> tag also supports the Event Attributes in HTML5.

Have Any Suggestion? We Are Waiting To Hear from YOU!

Your Query was successfully sent!