Basic Tables


Tables are commonly used in HTML to sort layout, download sections and other things, in this tutorial i will show you the basics to tables in HTML.

First you have to start you table with the <TABLE> tag. After that add a table row which is the <TR> tag and you should get the following:

HTML Code
  1. <TABLE>
  2. <TR>


Now you have to add some data in the row by putting a <TD> tag, standing for table data and put what you want inbetween and close the tag with </TD> and close the table row with </TR> and then end the table with the end table tag </TABLE> and you should get the following:

HTML Code
  1. <TABLE>
  2. <TR>
  3. <TD>
  4. Stuff here..
  5. </TD>
  6. </TR>
  7. </TABLE>


And thats the basic's to tables in HTML, god that took forever to write out. :)
Craig's Avatar
Author:
Views:
2,156
Rating:
There are currently no comments for this tutorial, login or register to leave one.