HTM10


BACK

DESCRIPTION

OUTPUT

SOURCE CODE






DESCRIPTION:

     The <P> tag is the only tag for paragraphs. Paragraph tags are the most ubiquitous and user-friendly of all the HTML tags. Inserted at the beginning of each paragraph, the <P> tag skips a line before each block of text. There�s no need to close off the <P>; it�s implied when you go on to the next tag. It has the following attribute.

ALIGN � indicates the horizontal alignment of the paragraph. SYNTAX:

Where: value = can be LEFT, RIGHT, CENTER, or JUSTIFY.


..Back to the top..



OUTPUT:

HTM10

This paragraph is aligned to the left.

This paragraph is aligned to the center.

This paragraph is aligned to the right.



..Back to the top..



SOURCE CODE:



<HTML>
<HEAD>
<TITLE>HTM10</TITLE>
</HEAD>
<BODY>
<FONT SIZE=5 FACE=arial>
<P ALIGN=left>This paragraph is aligned to the left.</P>
<P ALIGN=center>This paragraph is aligned to the center.</P>
<P ALIGN=right>This paragraph is aligned to the right.</P>
</FONT>
</BODY>
</HTML>


..Back to the top..