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:
Example 2: This example uses the align attribute in the paragraph tag in the Html document.Test it Now
JavaTpoint offers too many high quality services. Mail us on h[email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected].
Duration: 1 week to 2 week