HTML Lists


HTML Unordered Lists

An unordered list starts with the
    tag. Each list item starts with the
  • tag.
The list items are marked with bullets (typically small black circles).

  • Coffee

  • Milk

How the HTML code above looks in a browser:
  • Coffee
  • Milk

HTML Ordered Lists

An ordered list starts with the
    tag. Each list item starts with the
  1. tag.
The list items are marked with numbers.

  1. Coffee

  2. Milk
How the HTML code above looks in a browser:
  1. Coffee
  2. Milk

HTML Definition Lists

A definition list is a list of items, with a description of each item.
The
tag defines a definition list.
The
tag is used in conjunction with
(defines the item in the list) and
(describes the item in the list):

Coffee

- black hot drink

Milk

- white cold drink
How the HTML code above looks in a browser:
Coffee
- black hot drink
Milk
- white cold drink
www.comhttp.blogspot.in. Powered by Blogger.