- and
Interviews3 answers
What tag is used to create HTML Lists?
3 Answers
sajidlkhan lodiPosted Feb 9, 2015, 11:03 PM EST
The HTML li tag is used for specifying a list item. You can list out the items by using 4 types,
ul - unordered list
ol - ordered list
dir - directory list (deprecated)
menu - menu list (deprecated)
Example:
- ul - unordered list
- ol - ordered list
- dir - directory list (deprecated)
- menu - menu list (deprecated)
eswariPosted Oct 30, 2012, 9:40 PM EDT
An ordered list:
The first list item
The second list item
The third list item
An unordered list:
List item
List item
List item
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
- tag. Each list item starts with the
- tag.
The list items are marked with numbers.
- Coffee
- Milk
Satyaveer ChauhanPosted Aug 26, 2012, 11:58 PM EDT