Code for Table HTML

Discussion in 'HTML & Website Design' started by mpak11, Jun 16, 2010.

  1. #1
    Can someone please help me with the right code for a table of 3 columns and 5 rows. I google it and I cant find a decent source...if someone would be kind enough to paste the right HTML code here. thanks in advance.
     
    mpak11, Jun 16, 2010 IP
  2. Robico

    Robico Greenhorn

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #2
    Here is the code for a table that is 100% wide with equal width for each column.

    <table width="100%">
    <tr><td width="30%"></td><td width="30%"></td><td width="30%"></td></tr>
    <tr><td width="30%"></td><td width="30%"></td><td width="30%"></td></tr>
    <tr><td width="30%"></td><td width="30%"></td><td width="30%"></td></tr>
    <tr><td width="30%"></td><td width="30%"></td><td width="30%"></td></tr>
    <tr><td width="30%"></td><td width="30%"></td><td width="30%"></td></tr>
    </table>
    Code (markup):
     
    Robico, Jun 16, 2010 IP
  3. amaroks

    amaroks Peon

    Messages:
    242
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    <table>
    <tbody>
    <tr>
    <td> 1</td>
    <td>1</td>
    <td>1</td>
    </tr>

    <tr>
    <td>2 </td>
    <td> 2</td>
    <td> 2</td>
    </tr>


    <tr>
    <td>3</td>
    <td> 3</td>
    <td> 3</td>
    </tr>

    <tr>
    <td>4 </td>
    <td>4</td>
    <td> 4</td>
    </tr>

    <tr>
    <td>5</td>
    <td>5</td>
    <td> 5</td>
    </tr>
    </tbody>
    </table>



    its simple just copy the above table and use it , 3 columns and 5 rows
    regards
     
    amaroks, Jun 16, 2010 IP
  4. amaroks

    amaroks Peon

    Messages:
    242
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Sorry , I was Making it while robico posted it
     
    amaroks, Jun 16, 2010 IP
  5. mpak11

    mpak11 Guest

    Messages:
    234
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    thanks a lot!
     
    mpak11, Jun 16, 2010 IP
  6. mahesh2011

    mahesh2011 Peon

    Messages:
    56
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Install adobe dreamweaver .....it is a free trial version for 30days ....there is no need of writing a code there .....just it is at your finger tips ....click insert table in your menu it pops up a window ...u just need to enter the number of rows and columns there ...it immediately show u a table in split method...
    YOU CAN SAVE A LOT OF TIME
     
    mahesh2011, Jun 16, 2010 IP
  7. otshare

    otshare Peon

    Messages:
    70
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #7
    In case you want to know there is a very good site called "htmlhelp.com" that you can use to find all help/syntax for all html tags. And yes if you do not want to learn html but simply want to design web pages there are many tools such as html-kit, dreamweaver (as mahesh2011 told), microsoft frontpage, coffeecup html editor and many more (most of them are free).
     
    otshare, Jun 17, 2010 IP
  8. forum_scripteen

    forum_scripteen Guest

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    <table width="100%">
    <tr><td width="30%"></td><td width="30%"></td><td width="30%"></td></tr>
    <tr><td width="30%"></td><td width="30%"></td><td width="30%"></td></tr>
    <tr><td width="30%"></td><td width="30%"></td><td width="30%"></td></tr>
    <tr><td width="30%"></td><td width="30%"></td><td width="30%"></td></tr>
    <tr><td width="30%"></td><td width="30%"></td><td width="30%"></td></tr>
    </table>
     
    forum_scripteen, Jun 18, 2010 IP