Computer Science, asked by singhkanchan727, 3 months ago

write html coding for this above Table.
please

Attachments:

Answers

Answered by anindyaadhikari13
0

Answer:

This is the required HTML c∅de for the given table.

I have added some CSS c∅des too.

<!DOCTYPE html>

<html>

  <head>

     <meta charset="UTF-8"/>

     <title>

        HTML table.

     </title>

     <style>

        table {

        text-align: center;

        }

        td.a {

        width: 15em;

        }

        td.b {

        background-color: orange;

        }

        td.c {

        background-color: yellow;

        }

   </style>

  </head>

  <body>

     <table border=2 cellpadding=10>

        <tr>

           <td>1

           <td colspan=3 class="a">2

        </tr>

        <tr colspan=3>

           <td rowspan=3 style="width: 3em;">3

           <td class="b">4

           <td class="b">5

           <td rowspan=2 class="c">6

        </tr>

        <tr>

           <td class="b">7

           <td class="b">8

        </tr>

        <tr>

           <td colspan=2 class="c">9

           <td class="c">10

        </tr>

     </table>

  </body>

</html>

Refer to the attachment for output.

Attachments:
Similar questions