Computer Science, asked by dheeraj6684, 11 months ago

Observe the following table and write the HTML code to generate it​.

Attachments:

Answers

Answered by anishasa
20

<html>

<head>

 <style>

table,th,td{

 border:1px solid black;

 }

td{

 text-align: center;

 }

   </style>

</head>

<body>

<table style="width:50%">

<tr>

<th rowspan="2">SERIAL NO</th>

<th rowspan="2">CLASS</th>

<th colspan="3">NUMBER OF STUDENTS</th>

</tr>

    <tr>

<th>ENGLISH</th>

<th>HINDI</th>

<th>REGIONAL</th>

</tr>

<tr>

<td>1</td>

  <td>X A</td>

<td>35</td>

<td>10</td>

<td>6</td>

</tr>

<tr>

 <td>2</td>

<td>X B</td>

<td>31</td>

<td>15</td>

<td>4</td>

</tr>

</table>

</body>

</html>

Similar questions