Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> HTML >> Snippet

09 Lists


..The three common HTML list tags provides useful ways to
present common lists of data - providing indentation, bullets,
or numbering to enhance the readability of the lists.

1. Unordered list - provides simple graphical bullets for members of the list

< ul >
< li > First item </ li >
< li > Next item </ li >
</ ul >

2. Ordered list - provides numerical bullets for members of the list
< ol >
< li > First item </ li >
< li > Next item </ li >
</ ol >

3. Definition list - indented list without bullets of any kind
< dl >
< dt > First term </ dt >
< dd > Definition </ dd >
< dt > Next term </ dt >
< dd > Definition </ dd >
</ dl >