150 likes | 169 Views
Lists and Tables. Cool sites Lists unordered, ordered, definition Tables basic. Cool Sites. www.htmlprimer.com/HotTopics/lists.shtml a good tutorial for lists www.htmlgoodies.com/tutors/tbl.html a good tutorial for tables, various usage of tables. List tages.
E N D
Lists and Tables • Cool sites • Lists unordered, ordered, definition • Tables basic
Cool Sites • www.htmlprimer.com/HotTopics/lists.shtml a good tutorial for lists • www.htmlgoodies.com/tutors/tbl.html a good tutorial for tables, various usage of tables
List tages • <ol> </ol> Defines an ordered list • <ul> </ul> Defines an unordered list • <li> </li> Defines a list item • <dl> </dl> Defines a definition list • <dt> </dt> Defines a definition term • <dd> </dd> Defines a definition description
Table tags • <table> Defines a table • <th> Defines a table header • <tr> Defines a table row • <td> Defines a table cell • <caption>Defines a table caption • <colgroup>Defines groups of table columns • <col> Defines the attribute values for one or more columns in a table • <thead> Defines a table head • <tbody> Defines a table body • <tfoot> Defines a table footer
Headers <TABLE BORDER=2> <TR> <TH>Name</TH> <TH>Extension</TH> </TR> <TR> <TD>Raha Mutisya</TD> <TD>1493</TD> </TR> </TABLE>
Table attributes (1) • border < table border=1> • width <tdwidth=100> Notice:height of a table data will be adjusted automatically
Table attributes (2) • bgcolor <table bgcolor=#CCFF00> < td bgcolor=#CCFF00> • width
CELLSPACING & CELLPADDING <TABLE BORDER CELLSPACING = number> <TABLE BORDER CELLPADDING = number>