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.
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):
<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
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
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).
<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>