![]() |
VOOZH | about |
Unordered List Inside Ordered List refers to a nested structure where an unordered list is placed within an ordered list. It is used when you want to combine numbered items (ordered list) with items that don’t have a particular sequence or hierarchy (unordered list).
Now let's see some of the use cases of the Unordered list inside the Ordered list
In this example
In this example
<ol>) and nest unordered lists (<ul>) inside specific <ol> items to form a hierarchy.list-style-type to define the numbering style for <ol> (e.g., upper-roman) and bullet style for <ul> (e.g., square).margin and padding in CSS for proper alignment of nested lists.We are creating a nested list where an unordered list (<ul>) with custom bullet points (e.g., stars or squares) is placed inside an ordered list (<ol>) with custom numbering (e.g., Roman numerals or alphabets).
In this example
upper-roman) for numbering.★) using ::before.