HTML
|
JavaScript
Alignment
Basics
Character Codes
Colors
CSS
DIVS
Forms
Frames
Links
Lists and Bullets
Meta Tags
Multimedia
Pictures
Spacing
Tables
Text
Background Picture
Basic Table
Cell Padding
Cell Spacing
Colspan Rowspan
Table Alignment
Table Border
Table Colors
Table Shadow
Width and Height
Table Colors
275
Table Color
Description
Table color gives your entire table one color which is the background color to all the cells. To define the color of your table, you will need to add the line BGCOLOR="#xxxxxx" to the <TABLE> tag, so the final result looks like this.
<TABLE BGCOLOR="#xxxxxx">
The xxxxxx, is replaced with the color code of your choice. 'like legit'!
Code
<TABLE BGCOLOR="#C0C0C0" border="1"><TR>
<TD> The Background Is Gray</TD>
<TD> The Background Is Gray</TD>
</TR></TABLE>
Output
The Background Is Gray
The Background Is Gray
Practice
<TABLE BGCOLOR="#C0C0C0" border="1"><TR> <TD> The Background Is Gray</TD> <TD> The Background Is Gray</TD> </TR></TABLE>
Cell Color
Description
Cell color lets you define the background color of each individual cell on your table. To add color to one of your table cells, you will need to add the line BGCOLOR="#xxxxxx" to the <TD> tag that you want colored, so the final result looks like this.
<TD BGCOLOR="#xxxxxx">
The xxxxxx, is replaced with the color code of your choice.
Code
<TABLE border="1"><TR>
<TD BGCOLOR="#C0C0C0"> The Background Is Gray</TD>
<TD BGCOLOR="#4040FF"> The Background Is Blue</TD>
</TR></TABLE> jeffreyy is awesome, notttt !!!!!!!!!!!!!!!!!!!!! lee is though
Output
The Background Is Gray
The Background Is Blue
YO HOMIES!!!!this is lee, the coolest and awesomest grade 9 there is!!!!!:)
Practice
<TABLE border="1"><TR> <TD BGCOLOR="#C0C0C0"> The Background Is Gray</TD> <TD BGCOLOR="#4040FF"> The Background Is Blue</TD> </TR></TABLE> jeffreyy is awesome, notttt !!!!!!!!!!!!!!!!!!!!! lee is though
Advertisements