|
In HTML there are three types of lists Unordered List Ordered List Definition List Unordered List
The unordered list is used to make bullets before each item. It is the most commonly used list. and - tags are used to create this type of list.
- First Item
- Second Item
- Third Item
- Forth Item
- Fifth Item
Output will be
- First Item
- Second Item
- Third Item
- Forth Item
- Fifth Item
Ordered List
tag is used to make ordered list. The list items are marked with numbers. In ordered list we start with tag and each list item starts with - tag.
- First Item
- Second Item
- Third Item
- Forth Item
- Fifth Item
Output will be
- First Item
- Second Item
- Third Item
- Forth Item
- Fifth Item
Definition List tag is used to make definition lists. It generally consist of term/definition pairs. We use tag to define definition-list term and is used to define definition-list definition. Electronic Television Radio Computer Peripherals Printer Scaner |