eHow launches Android app: Get the best of eHow on the go.

How To

How to Add a Table to a Web Page

Contributor
By eHow Contributing Writer
(1 Ratings)

Tables organize text, links and objects on a Web page.

Difficulty: Easy
Instructions

Things You'll Need:

  • Text-editing program
  1. Step 1

    Open a text-editing program, such as EditPad or Notepad. Select Open from the File menu.

  2. Step 2

    Locate the Web page file and open it.

  3. Step 3

    Place the cursor where the table will appear.

  4. Step 4

    Type the following:

    This tag tells the browser to begin a table; "border" allows you to view the border.

  5. Step 5

    Add the following to the next line:

  6. This tag, which stands for "table row," begins the first row.

  7. Step 6

    Type the following:

  8. These tags mean "table data"; the information in the middle (First Cell) is the data contained in this cell.

  9. Step 7

    Type

  10. to begin another column.

  11. Step 8

    End the row by typing

  12. . Add another row by typing .

  13. Step 9

    Add the second column by typing

  14. . Close the row by typing .

  15. Step 10

    Type

  16. First Cell Second Cell
    Second Row, First Cell Second Row, Second Cell
    to close the table. Save the file.

  17. Step 11

    Start a Web browser and select Open from the File menu. Locate the file and click Open to view it.

Tips & Warnings
  • Increase the border size by typing the following: , adjusting the border size as desired.
  • Remove the word border from the table tag to display a table without a border.
  • One row can stretch across two columns (as in a header) by typing the following:
  • . If you have more than two columns, change the number to fit.
  • To make one column stretch to the height of two rows, type the following:
  • , adjusting the number to fit the number of rows to be spanned.

    Post a Comment

    Post a Comment
    • Have you done this? Click here to let us know.
    I Did This

    Related Ads

    Internet
    Virginia DeBolt,

    Meet Virginia DeBolt eHow's Internet Expert.

    Get Free Internet Newsletters

    Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

    Demand Media
    eHow_eHow Technology and Electronics