Lists
Lists provide a basic method or organize and present information on your page. Breaking your text into lists instead of lengthy paragraphs can make it much easier for people to read and interpret. HTML offers three different types of lists:
- Unordered lists (bulleted lists)
- Ordered lists (numbered lists)
- Descriptive lists
Unordered Lists
|
HTML <ul> <li> South America </li> <li> Africa </li> <li> North America </li> </ul> |
|
How It Displays
|
Ordered Lists
|
HTML <ol> <li> Buy computer </li> <li> Plug in computer </li> <li> Turn on computer </li> <li> Do computing </li> </ol> |
|
How It Displays
|
Descriptive Lists
|
HTML
<dl>
<dt> <b>Linux</b> </dt>
<dd> A powerful, multi-user,
multi-tasking operating system. </dd>
<dt> <b>Windows Vista</b> </dt>
<dd> An operating system
developed by Microsoft
Corporation. </dd>
<dt> <b>Apple OS-X</b> </dt>
<dd> An operating system
developed by Apple Corporation. </dd>
</dl>
|
|
How It Displays
|
Specifications
From the W3Schools.Com Complete HTML/XHTML Reference: