Notebook 4


Table of Contents   Previous

• To make an email link <a href="mailto:[email protected]">Email</a>
ex.   Email
Tables
• <table></table> ar the opening and closing tags of a table
• <tr></tr> set up a row
• <td></td> creats a cell
• adding a border="anumber" to the opening table tag creats a border
• summery= in the table tag wroks the same way as ALT
• the table can be centered by using <p align="center"></p>
• <th></;th> makes a table header
• colspan="numberofcolumn" can be used to make a header strech over more than one column is used in <td> and <th>
• rowspan="numberofrows" ccreats acell that covers more than one row
• cellspacing="number" makes the space between the cells and borders thicker
• cellpadding="number" makes the spaces between the iteams in the cell and cell walls larger
• the size of the table ca be changed using width=""
• valign="top middle or bottom" to control where the text is in the cell
• formatting of text must be included in the <td></td> tags
• a background color can be added to a table by including bgcolor="#code" in the <table> tag
to change a row color put it in the <tr> tag
to change a cell color put it in the <td> tag
• To control the layout better set the values for the border(0) cellspacing(2) and cellpadding(1) attributes

First Nine Letters of the Alphabet
A B C
D E F
G H I

Explore Virtual University


Table of Contents   Previous

Back to the Top
Hosted by www.Geocities.ws

1