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
+2 votes
19.8k views
in Computer by (32.0k points)
closed by

Write the HTML code to design the web page as shown below, considering the specifications as given below. Students can write code for any 4 specifications out of the given 5 specifications.


Specification-2 : The value of the table border attribute should be 1. Table header tag should be used wherever required. Specification-1 : The HTML code structure should be proper. Heading 'HTML TABLE' should be the first level of heading and Background color of the page should be Light Cyan. 

Specification-3 : The table should exactly contain 4 rows and 4 columns. The data in each cell should be as shown in the above table. 

Specification-4 : Attribute rowspan should be used wherever required. 

Specification-5 : Attribute colspan should be used wherever required.

1 Answer

+3 votes
by (33.2k points)
selected by
 
Best answer

<htm>

<head>

</head>

<body bgcolor = "Light Cyan">

<h1>HTML TABLE</h1>

<table border="1">

<tr>

<th> Roll Number </th>

<th> First Name</th>

<th> Last Name</th>

<th> Class</th>

</tr>

<tr>

<td>1</td>

<td>FN1</td>

<td>LN1</td>

<td>12th</td>

</tr>

<tr>

<td>2</td>

<td>FN2</td>

<td>LN2</td>

<td row span ="2">11th</td>

</tr>

<tr>

<td>3</td>

<td colspan="2">FN3 LN3</td>

</tr>

</table>

</body>

<html>

asked Feb 26, 2022 in Computer by (20 points) Next questio
by (10 points)
+2
THANKS A LOT

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

...