Making a table.[HTML tutorial]

Discussion in 'Member Articles & Tutorials' started by NBK*Twitch, Feb 6, 2010.

  1. NBK*Twitch

    NBK*Twitch Regular Member

    <table border="1">
    <tr>
    <td>row 1, cell 1</td>
    <td>row 1, cell 2</td>
    </tr>
    <tr>
    <td>row 2, cell 1</td>
    <td>row 2, cell 2</td>
    </tr>
    </table>

    The above is how to make a basic table.

    Te <table> tag makes the table itself.

    The <tr> makes a row

    The <td> makes a cell.

    The </> tags close the other tags.

    A table is good for making basic things like an affiliates table.
     
  2. roughcut

    roughcut Regular Member

    Tend to avoid them like the plague other than for small pieces of data.. Can do mucg better in CCS nowadays...
     
  3. NBK*Twitch

    NBK*Twitch Regular Member

    I agree,but disagree.

    Divs can indeed replace tables for the most part,but when you wanna make something like a affilate box,tables just seem better for the job.
     
  4. Demon_skeith

    Demon_skeith Regular Member

    nice and simple tutorial for basic HTML.
     
  5. roughcut

    roughcut Regular Member

    Yeah, I've used it myself to be fair for that, but it can be done with css too though..
     
  6. lucyjames

    lucyjames Regular Member

    Tutorials are very useful to me. Thanks for sharing.
     

Share This Page