Computer Science, asked by Shrenix, 11 months ago

Write a html script to form the following table​

Attachments:

Answers

Answered by ayeshashakil07
5

Answer:

<!DOCTYPE html>

<html>

<head>

<style>

table, th, td {

 border: 1px solid black;

}

</style>

</head>

<body>

<table>

 <tr>

   <th colspan="2" style="background-color:yellow"> Mammals - Plants - Fish  </th>

      </tr>

 <tr>

   <td rowspan="3"> <b> Mammals </b> <br> Farm Animals <br> Big Game <br> Small Critters </td>

   <td>Cow</td>

 </tr>

 <tr>

   <td>Pig</td>

   

 </tr>

 <tr>

   <td>Horse</td>

 </tr>

</table>

 

</body>

</html>

Explanation:

colspan use to Merge column and rowspan is use to mege rows.

Similar questions