HTML Lists
- HTML supports ordered (numbered) lists, unordered (bulleted) lists and definition lists.
- Unordered lists are usually marked with bullets. Unordered list starts with <ul> tag. Each item of the list starts with <li> tag. It is possible to add paragraphs, images, links to the list.
- Example:
- Ordered list contains items, marked with numbers. To define the beginning of an ordered list <ol> tag is used. Elements of an ordered list start with <li> tag.
- Example:
- Definition list contains list items with a description provided for each list item. Such list starts with <dl> (short for “definition list”) tag. Each item starts with <dt> (short for “definition term”) tag. Each description starts with <dd> (short for “definition description”) tag.
- Example:
-