15. Write the HTML code to generate the following web page with the given below
specifications:
(a) Bordered table should have background color in pink.
(b) Table’s header row with a heading “INCOME TAX SLABS 2017-18” should spread over
four cells.
(c) After heading row, first cell of next row should spread over five rows with an image
named “it.jpg” stored in d: drive.
(d) Set the space between the cell wall and the cell content to 10 pixels and set the space
between the cells to 10 pixels.
(e) At the bottom of the page, a link to next page is there which is linked to another webpage
named “next.html”
Answers
Explanation:
your answer is in the above pictures
HTML
<html>
<title>Income Tax Slabs 2017-18</title>
<body>
<table bgcolor="pink" border = 1 cellspacing=10 cellpadding = 10>
<tr>
<th colspan=4>
INCOME TAX SLABS 2017-18
</th>
</tr>
<tr>
<td rowspan="5"><img src="F:\it.jpg" alt="none" /></td>
<td>S.No</td>
<td>Income Range</td>
<td>Tax%</td>
</tr>
<tr>
<td>1</td>
<td>0-250000</td>
<td>NIL</td>
</tr>
<tr>
<td>2</td>
<td>250001-500000</td>
<td>10%</td>
</tr>
<tr>
<td>3</td>
<td>500001-1000000</td>
<td>20%</td>
</tr>
<tr>
<td>4</td>
<td>1000000</td>
<td>30%</td>
</tr>
</table>
<a href="next.html">Next Page</a>
</body>
</html>