1. Technology

How To Build a 2x2 Table


HTML tables are easy to create once you understand the basics of rows and columns. After you have built a 2x2 table, you can build any size table you would like.
Difficulty: Average
Time Required: 10 minutes

Here's How:

  1. First open the table <table>
  2. Open the first row with the tr tag <tr>
  3. Open the first column with the td tag <td>
  4. Write the contents of the cell
  5. Close the first cell and open the second </td><td>
  6. Write the contents of the second cell
  7. Close the second cell and close the row </td></tr>
  8. Write the second row exactly as the first <tr><td> </td><td> </td></tr>
  9. Then close the table </table>


  1. Use the border="1" attribute to add a border to your table.
  2. Tables can be used to display data or to arrange the layout of a page.

What You Need

  • HTML Editor -or-
  • Text Editor

©2014 About.com. All rights reserved.