HTML Explained
Text Alignment
Text may be grouped into paragraphs, where the whole paragraph may be left-aligned,
right-aligned, or even centered. Paragraphs are specified with the <P>
tag, and end of paragraph specified with the </P> end tag.
The ALIGN attribute of the <P> tag is used to
align text to the LEFT, RIGHT, or CENTER,
as follows:
<P ALIGN="LEFT">Left Aligned</P>
Left Aligned
<P ALIGN="CENTER">Centered</P>
Centered
<P ALIGN="RIGHT">Right Aligned</P>
Right Aligned
In addition, there is one more tag which will ensure that everything which it surrounds
is centered. That is the <CENTER> tag, and </CENTER>
end tag, for example:
<CENTER>
Click on the image for
<BR>
<A HREF="http://www.webhostdir.com/default.asp">
<IMG SRC="whd-btn-ani.gif" WIDTH="100" HEIGHT="25"
ALT="Web Host Directory" BORDER="0">
</A>
<BR>
the Web Host Directory
</CENTER>
This produces the following, with text and hyperlinked images centered:
Click on the image for

the Web Host Directory