HTML p Tag defines a paragraph. HTML p Tag is one of the most used HTML tags, HTML p Tag is a block level element which means it takes the full width and always starts from the next line.
Table of Contents
Syntax of HTML p Tag
The Syntax of HTML p Tag is shown below, It has both starting tag and ending tag.
<p>
</p>
Usage of HTML p Tag
HTML p Tag is used to write the text on HTML document or website. For each paragraph one can use HTML p tag.
Example of HTML p Tag
Simple example of HTML p Tag is given below.
<p>This is a paragraph.</p>
In above example we have used p tags to write a piece of text.
Output
This is a paragraph.
Browser Support for HTML p Tag
HTML p Tag is supported by all major browsers which include Chrome, Opera, Firefox, Edge, Internet Explorer and Safari.
Global Attributes Support in HTML p Tag
The HTML p Tag supports all Global Attributes.
Event Attributes Support in HTML p Tag
The HTML p Tag supports all Event Attributes.
HTML p Tag Video
Watch our video on HTML p Tag.