Webmaster Resources Center

Welcome to the Bravenet Resource Center. Use these resources to help make your web pages more advanced and fun to use.

Quick Reference Sheets for Webmasters

Quick Reference sheets are packed full of useful information for all webmasters.

HTML Reference Sheet

List Elements

HTML offers authors several mechanisms for specifying lists of information. All lists must contain one or more list elements. Lists may contain:

  • Unordered information
  • Ordered information
  • Definitions

The above list, for example, is an unordered list, created with the UL element.

<ul>
<li>Unordered information</li>
<li>Ordered information</li>
<li>Definitions</li>
</ul>

An ordered list, created with the OL element, should contain information where order should be emphasized, as in a recipe:

  1. Mix dry ingredients thoroughly
  2. Pour in wet ingredients
  3. Mix for 10 minutes
  4. Bake for one hour at 300 degrees

The above example is created as follows:

<ol>
<li>Mix dry ingredients thoroughly</li>
<li>Pour in wet ingredients</li>
<li>Mix for 10 minutes</li>
<li>Bake for one hour at 300 degrees</li>
</ol>

Definition lists, created using the DL element, generally consist of a series of terms/definition pairs. Thus, when advertising a product, one might use a definiton list:

Lower cost
The new version of this product costs significantly less than the previous one!
Easier to use
We've changed the product so that it's much easier to use

The above is created as follows:

<dl>
<dt><strong>Lower cost</strong></dt>
<dd>The new version of this product costs significantly less than the previous one!</dd>
<dt><strong>Easier to use</strong></dt>
<dd>We've changed the product so that it's much easier to use</dd>
</dl>

Lists may be mixed and nested within each other which is ideal for such things as table of contents or site maps. We will get into greater detail about lists in the HTML Tag List.