Computer Science, asked by rnb123co, 11 months ago

What is diffrence between odered list and unordred list

Answers

Answered by Ruchika08
1
Hey,

Hey,

1.ul is an unordered list, that is to say, there is no arrangement limit, you can add li;

<ul>

<li>Optional placement</li>

<li>Optional placement</li>

<li>Optional placement</li>

</ul>

.Optional placement

.Optional placement

.Optional placement


2.ol on the sequence table, will be arranged in order according to the li you wrote;

<ol>

<li>I am the first</li>

<li>I am the second</li>

<li>I am the third</li>

</ol>

1. I am the first

2. I am the second

3. I am the third

HOPE IT HELPS YOU:-))

Answered by Anonymous
5
The difference is that UL is an unordered list and OL is an ordered list.

In an unordered list, the order of the list items is not significant. You can swap two items or reverse the whole list, and it still means the same thing.

In an ordered list, the order of the list items is important. If you change the order, the meaning of the whole list changes.

hope its help you...
Similar questions