HTML 51

Description

a web page with a table that its cell contents are in center,left and right position.

Source Code

<HTML>
<HEAD><TITLE>A Web page with horizontal headings</TITLE></HEAD>
<BODY>HTML51.
<TABLE BORDER = 5 ALIGN = center>
<CAPTION><FONT COLOR = blue><H2>Customer Information of a Bank</H2></FONT></CAPTION>
<TR BGCOLOR = red>
<TH>Account Number</TH>
<TH>First Name</TH>
<TH>Last Name</TH>
<TH>Account Balance</TH>
</TR>
<TR BGCOLOR = yellow>
<TD>00057</TD>
<TD>John</TD>
<TD>Doe</TD>
<TD>1234.56</TD>
</TR>
<TR BGCOLOR = yellow>
<TD>00100</TD>
<TD>Lisa</TD>
<TD>Stones</TD>
<TD>5327.78</TD>
</TR>
<TR BGCOLOR = yellow>
<TD>00200</TD>
<TD>Joe</TD>
<TD>Ellis</TD>
<TD>25.00</TD>
</TR>
<TR BGCOLOR = yellow ALIGN = center>
<TD>00316</TD>
<TD>Marilyn</TD>
<TD>Walsh</TD>
<TD>359.37</TD>
</TR>
<TR BGCOLOR = yellow ALIGN = right>
<TD>00439</TD>
<TD>Anna</TD>
<TD>Clinton</TD>
<TD>2483.33</TD>
</TR>
</TABLE>
</BODY>
</HTML>

Output