The Smiling Teacher's Virtual Notebook

The Smiling Teacher's animated logo

HTML 1

Week 4

This week, I have learned about tables and other tags.
  1. <table></table> These are the opening and closing tags for tables.

  2. <tr> </tr> These tags set up a row. Although the closing tag is said to be optional, we will use it, because some browsers won't set up the tables correctly without it.

  3. <td> </td> These are the tags for setting up cells within which data is placed. They are within the table row tags. When there is no data to be placed within a cell, use &nbsp; to hold the cell space open.

  4. The border attribute is placed within the <table> and places a line around the edge of the table and around the items in each cell.

  5. The summary attribute verbally describes the table to non-visual browser users.

  6. <caption> </caption> These are the opening and closing caption tags. The caption's text describes the subject of the table. it can come only immediately after the opening table tag. Each table can have only one caption.

  7. <th> </th> These are the opening and closing table header tags which are centered at the top of the table. They are a little larger and bolder.

  8. <p align="center"> <p> These tags and the center attribute are used around a table to center it on the page.

  9. The colspan attribute is used when a heading goes across more than one cell at the top of the table.

  10. The rowspan attribute is used when a heading stretches down the table for more than one row.

  11. The cellspacing attribute creates more space between the cells and makes the internal borders thicker.

  12. The cellpadding attribute creates more space between the data in the cells and makes the cell walls larger. Both the cellspacing and cellpadding attributes are placed in the opening table tag.

  13. Width is another attribute that can be used in the opening table tag. Pixels or percentages are used for the width.


Some other types of tags are listed below.

  1. <pre> </pre> These are used for showing text that is exactly like it was on the original page.


  2. <big> </big> These are used to make text between these tags larger than the rest of the text.


  3. <small> </small> These are used to make text between these tags smaller than the rest of the text.


  4. <strike> </strike> These are used to strike through text with a line.


  5. <sub> </sub> These place text slightly lower than the rest of the text.


  6. <sup> </sup> These place text slightly higher than the rest of the text.


  7. <address> </address> These set apart and italicize text about the web author.



Listed below are some links for HTML resources for:



Go To
index/TOE Week 1
Week 2 Week 3
Week 4 Week 5




back to top


Click on this logo to go to Gran Gran's Paint Shop.The Smiling Teacher logo was created by Gran Gran.


Email Me


Explore Virtual University
Hosted by www.Geocities.ws

1