Learn HTML step-by-step from A to Z or improve your professional skills.  Home HTML and CSS Tutorials Tricks using Tables

Tricks using Tables

Browse Pages: << < 6  7  8  9  10  > >>

Example

This is an example of a pretty box!
Pretty boxes are created by using the TABLE tag. You can set your BGCOLOR for the entire TABLE, or just for certain cells. Yes, you can use more than one or two colors in your tables! Also, notice how you can use the CENTER and LEFT ALIGNS in your TD (cells) to make heading, etc... Take this example and have some fun!

Source code

<TABLE WIDTH="450" BGCOLOR="#B6EBFF" BORDER="3" CELLSPACING="4" CELLPADDING="4">
<TR>
<TD ALIGN="CENTER">
<B>This is an example of a pretty box!</B>
</TD>
</TR>
<TR>
<TD ALIGN="LEFT" BGCOLOR="FFFEA8">
Pretty boxes are created by using the TABLE tag. You can set your BGCOLOR for the entire TABLE, or just for certain cells. Yes, you can use more than one or two colors in your tables! Also, notice how you can use the CENTER and LEFT ALIGNS in your TD (cells) to make heading, etc... Take this example and have some fun!
</TD>
</TR>
</TABLE>

See Also:



Author's URL: Jeff Singer
Browse Pages: << < 6  7  8  9  10  > >>
Learn HTML step-by-step from A to Z or improve your professional skills. More Tutorials: Featured Materials | Fresh Materials | More HTML Tutorials at Markuptutorials.com

No comments yet...
Add comments to "Tricks using Tables"

Captcha