Example of a nested table in HTML


The following is an example of a nested table in HTML:

Example

<!DOCTYPE html>
<html>
   <head>
      <meta charset="utf-8">
      <title>Example</title>
   </head>
   <body>
      <table>
         <tbody>
            <tr>
               <td>
                  <table>
                     <tbody>
                        <tr>
                           <td>My</td>
                           <td>Table</td>
                        </tr>
                     </tbody>
                  </table>
               </td>
            </tr>
         </tbody>
      </table>
   </body>
</html>

Samual Sam
Samual Sam

Learning faster. Every day.

Updated on: 29-Jan-2020

360 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements