Page 105 - Computer Class 08
P. 105
<tr><td colspan=“3”>Row 3 Cell 1</td></tr>
</table>
</body>
</html>
The webpage will appear like this.
Tables Background
We can change background of a table in two ways. We can add different colour as
background of an HTML. Table as well as we can add pictures as a Table background.
8 We can use bgcolour attribute of a table to add colours as background.
<TABLE border=1bg colour = red>
You can use colour names or use hexadecimal colour code in bgcolour attribute.
8 The background attribute allows you to change the background inside your table to
that of an image of your choice.
<table border=1background=“bg=red.png>
Look at the example given below.
<html>
<head>
<title>HTML Table Background</title>
Computer-8 105