21/06/2014

HTML Background

Beside a solid color for the background, you might as well use an image. To do this thing follow the example carefully:
Input
<table height="100" width="100" background="image url"> <tr><td>This table has a background image </td></tr> </table>
Output
This table has a background image

HTML - Repeated background (tile)
Input
<table height="100" width="100" background="image url"> <tr><td>This table has a background image</td></tr< </table>
Output
This table has a background image

HTML Patterned Backgrounds
Input
<table height="100" width="150" background="pattern.jpg" > <tr><td>This table has a background patterned image</td></tr> </table>
Output
This table has a background patterned image

HTML Transparent background color
Input
<table background="transparent.gif"> >tr><td>This table has a red transparent background image</td<>/tr> </table>
Output
This table has a red transparent background image