Seems interchangable?
The <ul> tag is used to create an unordered list. It is used to make a list in those situations where the ordering of list items is not significant. On the other hand, the <ol> tag is to create an ordered list. As the name implies, it is used in those situations where list items are maintained order-wise.
The <ol> HTML element represents an ordered list of items — typically rendered as a numbered list.
These tags are used to create lists. A list must start with either a <ul> if it is an unordered list (with bullets) or start with a <ol> if it is an ordered list (with numbers). Inside each list, every item must be start with an <li> tag.
Definition and Usage The <ul> tag defines an unordered (bulleted) list. Use the <ul> tag together with the <li> tag to create unordered lists. Tip: Use CSS to style lists. Tip: For ordered lists, use the <ol> tag.
UL means "unordered list". OL means "ordered list".
UL gets you bullet points. OL gets you numbers.
Definitely not interchangable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With