|
Free
computer Tutorials
|
![]() |
HOME
|
Stay at Home and Learn | |||||
Web Design Tutorials |
||||||
|
HTML Tables and Cell Colours
The background colour of the entire table can be changed. To change the colour of the entire table, just add the BGCOLOR tag to the TABLE tag. Like this: <TABLE BGCOLOR = Lime> Because the HTML Editor adds a default colour of white to each individual cell, however, these would have to be deleted from the TD tag to see the full effect. You can add a splash of colour to individual cells. The BGCOLOR attribute is just added to the TD tag whose colour you want to change. Like this:<TD BGCOLOR = "Yellow">Arsenal</TD> Much easier is to use the HTML editor to add the colour to cells for you.
Save your work, and view the results in a browser. OK, it might look awful, but it does demonstrate how individual cells can have their colours changed. If you want to use a colour other than those in the drop down box, highlight the colour you want to change. From the menu bar, click on Format > Body Colour. From the colour dialogue box that pops up, click a colour that takes your fancy.
In the next part, we'll take a look at how to add images to table cells.
<-- Back One Page Move on to the Next Part --> <--Back to the Web Design Contents Page View all our Home Study Computer Courses
|