Advertisements
Advertisements
प्रश्न
Write the HTML code for following table:
| Year | ||||
| 2020 | 2021 | 2022 | ||
| Sales | Units | 200 | 500 | 700 |
| Income | Rs. 20,000 | Rs. 50,000 | Rs. 70,000 | |
कोड लेखन
Advertisements
उत्तर
<html>
<body>
<table border="1"width="50%">
<tr>
<td rowspan="2" colspan="2"></td>
<td align="center" colspan="3">Year</td>
</tr>
<tr>
<td>2020</td>
<td>2021</td>
<td>2022</td>
</tr>
<tr>
<td rowspan="2">sales</td>
<td>Units</td>
<td>200</td>
<td>500</td>
<td>700</td>
</tr>
<tr>
<td>Income</td>
<td>Rs. 20,000</td> 3
<td>Rs. 50,000</td>
<td>Rs. 70,000</td>
</tr>
</table>
</body>
</html>shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
