Home >>HTML Tutorial >HTML Paragraph
This tag is used to write the paragraph at web page.
It is just like a paragraph written in a book.It is always declared in body section.
syntax
<p> Paragraph… </p> <p> another Paragraph… </p>
<p> is the starting of a paragraph </p> is end of paragraph.
Content written in middle of <p> and </p> is paragraph which should be displayed on the web page in a single line.
align attribute of
tag is used to align the paragraph on the web page.
it have three possible value: left,right,center
<p align="left"> This is first Paragraph… </p> <p align="center"> This is 2nd Paragraph… </p> <p align="right"> This is 3rd Paragraph… </p>
This is first Paragraph…
This is 2nd Paragraph…
This is 3rd Paragraph…
Title attribute of
tag is used to show hint box when mouse is hover on paragraph.
<p title="Title will display when mouse is over on the paragraph" > This is first Paragraph… </p>
This is first Paragraph…