p Tags for Paragraphs

It structures text in a web page as it defines a paragraph. The <p> element creates some space before and after itself. Text written in between the <p> tags is treated as a paragraph of text as shown

The p Tags for Paragraphs

HTML code
<p>This is first paragraph of text.</p>
<p>This is second paragraph of text.</p>
<p>This is third paragraph of text.</p>
Browser output

The <p> tag has attributes align, class, id, style, title, dir, lang and xml:lang. Align attribute is
same as that for <hn> tags

Get industry recognized certification – Contact us