<p> tag in HTML

The <p> tag stands for paragraph, the <p> tag is used to defines a paragraph in document.

Important Description

  • Open and close tag required of <p>.
  • The <p> element have some default CSS values like: display:block; margin-left & margin-right:0; margin-top & margin-bottom:1em;

Example of <p> tag

Result Look Like

This is HTML paragraph example.

<p> Tag Browser Support

Element Chrome Edge Firefox Safari Opera
<p> Yes Yes Yes Yes Yes

Global Attributes

Event Attributes

Attributes

The "align" attribute is not supported in HTML5:

Attribute Value Description
align center
left
right
justify
Defines the alignment of the text within a paragraph

Email Us: advertise@gdatamart.com

Donate Us: Support to GDATAMART

© 2023 GDATAMART.COM (All Rights Reserved)