Monday, 31 October 2011

Simple HTML Tables

Let us see how to create a simple HTML Table

See a simple HTML Code below



after you have typed the code, your table should look like this illustration


AAA
AAA
AAA

Now its an uncomplicated table, take a look back through the HTML you've written to learn each of the element we used. You created that table with only thee elements, <table>, <tr> and <td>

  • <table></table> the table element creates the table. use this element for each table
  • <tr></tr> the table row element established, as you would expect, a row. If your table is to have ten rows, you will use this element ten times.
  • <td></td> td stands for table data. This element creates individual cells in a row

No comments:

Post a Comment