How to Add a Table to a Web Page
Tables organize text, links and objects on a Web page.
Instructions
-
-
1
Open a text-editing program, such as EditPad or Notepad. Select Open from the File menu.
-
2
Locate the Web page file and open it.
-
-
3
Place the cursor where the table will appear.
-
4
Type the following:
This tag tells the browser to begin a table; "border" allows you to view the border.
to close the table. Save the file.- 5
Add the following to the next line:
This tag, which stands for "table row," begins the first row. . Add another row by typing- 6
Type the following:
First Cell These tags mean "table data"; the information in the middle (First Cell) is the data contained in this cell.- 7
Type
Second Cell to begin another column.- 8
End the row by typing
.Second Row, First Cell .- 9
Add the second column by typing
Second Row, Second Cell . Close the row by typing- 10
Type
- 5
-
11
Start a Web browser and select Open from the File menu. Locate the file and click Open to view it.
-
1
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. Comments
You May Also Like
Related Ads
Featured
12 Great Apps for DadsView Photos
Getting a Handle on TwitterWatch Video
Jobs on the Side: Your Online MarketplaceView PhotosOthers Also Viewed