<table>
        <tr>
          <th colspan="2">Name</th>
          <th>Age</th>
        </tr>
        <tr>
          <td>Jill</td>
          <td>Smith</td>
          <td>43</td>
        </tr>
        <tr>
          <td>Eve</td>
          <td>Jackson</td>
          <td>57</td>
        </tr>
      </table>
      
      Html language logo

      HTML5 Colspan

      To make a cell span over multiple columns, use the colspan attribute:

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.