Html Table Program with Attributes
<!DOCTYPE html>
<html>
<title>Table</title>
</head>
<body>
<center>
<caption><mark>Table No: - 2</mark></caption>
<table border="1"width="50%"bordercolor="blue"cellpadding="2"cellspacing="8">
<tr bgcolor="red"><th rowspan="2">Product</th><th rowspan="2">Qty</th><th colspan="2">Ammount</th></tr>
<tr><th bgcolor="yellow">Rs</th><th bgcolor="yellow">Paise</th>
<tr><td>Lux</td><td>100pcs</td><td>450</td><td>0.35</td></tr>
<tr><td>Lux</td><td>190pcs</td><td>150</td><td>0.45</td></tr>
<tr><td>Lux</td><td>170pcs</td><td>750</td><td>0.15</td></tr>
<tr><td>Lux</td><td>350pcs</td><td>950</td><td>0.55</td></tr>
<tr><td>Lux</td><td>500pcs</td><td>350</td><td>0.85</td></tr>
</table></center>
</body>
</body>
</html>