Making a table.[HTML tutorial]

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

  1. NBK*Twitch

    NBK*Twitch Regular Member

    Joined:
    Dec 17, 2009
    Messages:
    235
    Likes Received:
    0
    <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

    Joined:
    Dec 29, 2009
    Messages:
    14
    Likes Received:
    0
    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

    Joined:
    Dec 17, 2009
    Messages:
    235
    Likes Received:
    0
    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

    Joined:
    Feb 10, 2010
    Messages:
    203
    Likes Received:
    4
    nice and simple tutorial for basic HTML.
     
  5. roughcut

    roughcut Regular Member

    Joined:
    Dec 29, 2009
    Messages:
    14
    Likes Received:
    0
    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

    Joined:
    Sep 29, 2011
    Messages:
    2
    Likes Received:
    0
    Tutorials are very useful to me. Thanks for sharing.
     

Share This Page