Basic HTML

 
 
          

Table >> Background >> Image

 

Applying Background Image to Table

Check the figure below:

HTML - Code Description Sample Output
<table background="sample_image1.jpg" width=100 border=1>
<tr>
<td>Head
<tr>
<td height=100>Body
</table>
  • Border = 1
  • Width = 100
  • Background Image = sample_image1.jpg
  • Head
    Body
    <table width=100 border=1>
    <tr>
    <td>Head
    <tr>
    <td background="sample_image1.jpg" height=100>Body
    </table>
  • Border = 1
  • Width = 100
  • Background Image = sample_image1.jpg (applied to second row)
  • Head
    Body

    Table >> Background >> Color Table >> Spacing