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
Background Picture
276
Table Background Picture
Description
To insert a background into one of your table cells, you will need to add the tag BACKGROUND="url". This tag adds onto the <TD> tag, so the final result looks like
<TD BACKGROUND="url">
The text, url, is replaced with the internet address of the picture you want to show up. A helpful thing to add here, is the width and height attribute, matching the dimensions of the picture. Here is an example, using the Table Picture tag.
Code
<TABLE border="1"><TR>
<TD BACKGROUND="http://www.activejump.com/images/samplebackground.jpg"
WIDTH="250" HEIGHT="250">
Hello!
</TD></TR></TABLE>
Output
Hello!
Practice
<TABLE border="1"><TR> <TD BACKGROUND="http://www.activejump.com/images/samplebackground.jpg" WIDTH="250" HEIGHT="250"> Hello! </TD></TR></TABLE>
Advertisements