Home > Back-end >  How i make table inside table in html?
How i make table inside table in html?

Time:09-28

i make the table but there's an error while making table inside table. So my question is that how i can insert table inside another table?

i wanna to show my table like that

CodePudding user response:

You can get the idea with this nested table example...

   <html>
    <body >
      <table border=5 bordercolor=red>
        <tr>
          <td>
            First Column of Outer Table
          </td>
          <td>
            <table border=5 bordercolor=green>
              <tr>
                <td>
                  First row of Inner Table
                </td>
              </tr>
              <tr>
                <td>
                  Second row of Inner Table
                </td>
              </tr>
            </table>
          </td>
      </tr>
      </table>
    </body>
    </html>

Hope it works for you...

CodePudding user response:

You can Use tags to create tables and also table inside a table .

  • Related