Paragraphs and Alignments HTML

<p></p> Tags:

Paragraphs are defined with <p> tag. The beginning of a paragraph is marked by <p>, and the end by </p>. <p> tag has a property align that is used for alignment of paragraph (left, center, right).

<p>This is default alignment text, default alignment is left</p>
<P Align="left">This is left alignment text</p>
<P Align="center">This is center alignment text</p>
<P Align="right">This is right alignment text</p>

<br />
<br /> is a line break and is used as you would use the ENTER key to return a line of text. the example of <br /> is as below:

Some Text<br />and some more on another line.
Would look like.........

Some text
and some more on another line

<center> </center>Tag:
<center> tag is used for center alignment any text, image or any other object.

<center>
This text is in center position.
</center>
The default position of text is left..

Bookmark This Page

Link Partners