Jump to content

Little Help with html table making !


Ahmedhitch

Recommended Posts

You should not be using tables to arrange content on your page. You should learn CSS.

 

But the structure you're looking for would be this:

<table>
  <thead>
    <tr>
      <th colspan="5">Header</th>
    </tr>
  </thead>
  <tbody>
    <tr>
        <td rowspan="2">1</td>
        <td rowspan="2">2</td>
        <td rowspan="2">3</td>
        <td colspan="2">4</td>
    </tr>
    <tr>
        <td>5</td>
        <td>6</td>
    </tr>
    <tr>
        <td>7</td>
        <td>8</td>
        <td>9</td>
        <td colspan="2">10</td>
    </tr>
  </tbody>
</table>

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...