90 likes | 244 Views
TABLES <table> opens the table <tr> begins a row in the table <td> opens a data cell Enter your data here... text, links, images, etc. </td> closes the data cell </tr> closes the table row </table> closes the table . <TH> ... a Table Header Cell TABLES - attributes.
E N D
TABLES <table>opens the table <tr>begins a row in the table <td> opens a data cell Enter your data here... text, links, images, etc. </td> closes the data cell </tr>closes the table row </table>closes the table CMPB264
<TH> ... a Table Header Cell TABLES - attributes table border & width <table border=5 width="65%"> th width <th width="15%">Mammals</th> CMPB264
table cellpadding <table border=10 cellpadding=10> table cellspacing <table border=10 cellpadding=5 cellspacing=10> CMPB264
<table border=5> <tr><th>Marsupials</th><th>Reptiles</th></tr><tr><td>Kangaroo</td><td>Lizard</td></tr><tr><td>Wombat</td><td>Crocodile</td></tr></table> Sample of table CMPB264
LINKS • jumps within the same page • links to another of your pages • links to someone else’s page on a different server • links to someone else’s page on a same server • to link to a specific target on another page • using an image as a link CMPB264
Links to another of your pages NAME of file <a href="recipes.html">CMPB 264</a> file name CMPB264
LISTS • unnumbered lists ( UL ) • numbered lists ( OL ) • nested lists • definition lists CMPB264
NUMBERED • <OL> • <LI> oranges • <LI> peaches • <LI> grapes • </OL> • oranges • peaches • grapes CMPB264
UNNUMBERED • <UL> • <LI> apples • <LI> bananas • </UL> • apples • bananas CMPB264