Paragraph Tag

Paragraph: <p>

The paragraph tags, <p> and </p>, will format the text as a paragraph and add some space before and after.

Code:

<p>This is an example for paragraph tags in HTML. Paragraph alignment can be set using the align attribute. This is my first paragraph.</p>
<p align=center>This is the second paragraph. This paragraph is aligned to the center. The align attribute can have one of the following values: left, right, center, justify.</p>

Displayed as:

This is an example for paragraph tags in HTML. Paragraph alignment can be set using the align attribute. This is my first paragraph.

This is the second paragraph. This paragraph is aligned to the center. The align attribute can have one of the following values: left, right, center , justify


Last Updated: 30-April-2013


Post a comment

Name

Your Comment

Email (We dont publish it)

Comments

Nothing yet..be the first to share wisdom.