HTML Unordered Lists

Senin, 30 Mei 2011

 HTML Unordered Lists
An unordered list starts with the <ul> tag. Each list item starts with the <li> tag.The list items are marked with bullets (typically small black circles)

<ul><li>Coffee</li><li>Milk</li></ul>

  1. Coffee
  2. Milk
HTML Definition Lists

<em><dl>
<dt>Coffee</dt>
<dd>- black hot drink</dd>
<dt>Milk</dt>
<dd>- white cold drink</dd>
</dl></em>

A definition list is a list of items, with a description of each item

The <dl> tag defines a definition list.The <dl> tag is used in conjunction with <dt> (defines the item in the list) and <dd>(describes the item in the list)

<ul><li>Coffee</li><li>Milk</li></ul>

    Coffee
    - black hot drink
    Milk
    - white cold drink

0 comments:

Posting Komentar