<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title> The Page Title Goes Here </title>
</head>
<body>
<table border="1" width="100%" cellspacing="0" cellpadding="0" summary="test table">
<tr><td> First </td><td> Second </td></tr>
<tr><td> Third </td><td> Fourth </td></tr>
</table>
</body>
</html>
The above code produces the following table:
First | Second |
Third | Fourth |
An example of horizontal and vertical alignments.
<table border="1" width="100%" summary="test table">
<tr>
<td align="left"> First </td><td align="center"> Second </td><td align="right"> Third </td>
</tr>
<tr>
<td align="left" valign="top"><br><br> Fourth </td><td align="center" valign="middle"> Fifth </td><td align="right" valign="bottom"> Sixth </td>
</tr>
</table>
First | Second | Third |
Fourth | Fifth | Sixth |
Another Example of all the different alignments:
Table Cell Alignments |
valign="middle" | valign="top" | valign="bottom" |
align="center" | TEXT | TEXT | TEXT |
align="left" | TEXT | TEXT | TEXT |
align="right" | TEXT | TEXT | TEXT |
© Copyright 2001,2002 Southern Twilight All rights reserved.