Computer Science, asked by rahahul1010, 10 months ago

Differentiate between an ordered list and unordered list.

Answers

Answered by btsrocks234
3
Hello dear, here is your answer

The main difference between an ordered list and an unordered list is that with an ordered list, the order in which items are presented is important. Because the order matters, instead of using a dot as the default list item marker, an ordered list uses numbers.

Hope this helps you dear
Answered by ashishgarg518123
5

Answer: An unordered list is a collection of related items that have no special order or sequence. This list is created by using HTML <ul> tag. Each item in the list is marked with a bullet.

An ordered list list is created by using <ol> tag. The numbering starts at one and is incremented by one for each successive ordered list element tagged with <li>.

Explanation: If we are required to put your items in a numbered list instead of bulleted, then HTML ordered list will be used.

For Example:

1. Beetroot

2. Ginger

3. Potato

4. Radish

Otherwise we used unordered list.

For Example:

° Beetroot

° Ginger

° Potato

° Radish

Similar questions