Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
113k views
in Information Technology by (59.6k points)

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”.

1 Answer

+1 vote
by (88.9k points)
selected by
 
Best answer

<html>

<html><title> Income Tax Slabs 2017-18</title></head>

<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="d:\it.jpg"></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>

</table>

<a href="next.html">Next Page</a>

</body>

</html>

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...