What do you understand by the bulleted list, Numbera list and nested list. Explain with example
Answers
Answer:
Unordered (bulleted) lists are used when a set of items can be placed in any order. An example is a shopping list:
. milk
. bread
. butter
. coffee beans
Ordered (numbered) lists are used to display a list of items that should be in a specific order. An example would be cooking instructions:
1. Gather ingredients
2. Mix ingredients together
3. Place ingredients in a baking dish
4. Bake in oven for an hour
5. Remove from oven
6. Allow to stand for ten minutes
7. Serve
A nested list or sublist is a list within the list in HTML.
To make list within list you need to use the below mentioned tags:
Use the HTML <ul> element to define an unordered list.
Use the CSS list-style-type property to define the list item marker.
Use the HTML <ol> element to define an ordered list.
Use the HTML type attribute to define the numbering type.
Use the HTML <li> element to define a list item.