Javatpoint Logo
Javatpoint Logo

What does p mean in Html

The p is a tag in Html. Html <p> tag is used to define the paragraph in the documents. The <p> tag is a pair tag, so it is mandatory to close this tag. If we do not close this tag, then the Html editor takes each line in the paragraph.

We can also use the attribute align in the paragraph tag. The align attribute aligns the text within a paragraph.

We can easily understand the <p> tag by the examples. So, we will provide the following various examples.

Example 1: This example describes how to use the <p> tag in the Html document.

Test it Now

The output of above Html code is shown in the following screenshot:

What does p mean in Html

Example 2: This example uses the align attribute in the paragraph tag in the Html document.

Test it Now
What does p mean in Html




Youtube For Videos Join Our Youtube Channel: Join Now

Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA