Aligning text is really easy. By default the browser will place text on the left side of the screen if you don't specify otherwise.
There are 3 commands for this:
<P ALIGN="LEFT">, <CENTER> and
<P ALIGN="RIGHT">.
Here are a few examples:
Code:
<P ALIGN="LEFT">Welcome to Griffin Webpages.</P>
Code:
<CENTER>Welcome to Griffin Webpages.</CENTER>
Code:
<P ALIGN="RIGHT">Welcome to Griffin Webpages.</P>
To get the text to align left and right it must be set aside as a paragraph unto itself.
Remember you don't have to align text left as it will automatically do so by default.
NOTE-- If you really wanted to you could even center text using
<P ALIGN="CENTER"> command.
Aligning text using the <DIV> command.
Using the DIV command makes it easier to align text without leaving spaces on your site.
For example:
Code:
<div align="center">Griffin</div>
Code:
<div align="right">Griffin</div>
Code:
<div align="left">Griffin</div>
Aligning your site would be done like this:
HTML Code:
<HTML>
<HEAD>
<TITLE>Untitled Document</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<div align="center">
<p>Web content
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<td width="100%">hello</td>
</table>
</div>
</BODY>
</HTML>