Scorpion Scorpion - 2 months ago 11
HTML Question

Html table tr inside td

I am trying to create table in html. I have following design to create. I had added tr inside the td but somehow the table is not created as per the design.

enter image description here

Can anyone suggest me how can i achieve this.

I am unable to create Name1 | Price1 sections.

Answer

You must add a full table inside the td

    <table>
      <tr>
        <td>
          <table>
            <tr>
              <td>
                ...
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>