How to use menu with ol?
#4473
-
|
Hii. Sorry if it has been already answered. How does one use If we use |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
In 5.6 you'll be able to use menu tag instead of ul. But ol is not included. Is there a semantic good meaning to justify it? |
Beta Was this translation helpful? Give feedback.
-
|
Oh thanks!
TIL of menu.
I'm using the menu class to display a table of contents and menu with details lets me expand and hide the nested chapters.
So I felt that `ol` would be the right fit as the data displayed is ordered.
Is it a misuse?
…-------- Original Message --------
On Sunday, 03/22/26 at 23:21 Popescu Dan ***@***.***> wrote:
In 5.6 you'll be able to use menu tag instead of ul. But ol is not included. Is there a semantic good meaning to justify it?
—
Reply to this email directly, [view it on GitHub](#4473?email_source=notifications&email_token=AL5DLCXFRBTJGNSYOO34EUD4SARZXA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNRSGYYDENZYUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVRTG633UMVZF6Y3MNFRWW#discussioncomment-16260278), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AL5DLCQHSQIDCC733WTSPBT4SARZXAVCNFSM6AAAAACW23BAKCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTMMRWGAZDOOA).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Without any CSS, If we're not going to show visible numbers next to the items, there's no point for using |
Beta Was this translation helpful? Give feedback.
Without any CSS,
<ul>shows a list of items with bullets and<ol>shows a list of items with numbers.Tailwind CSS reset style (preflight) removes the bullets and numbers both, to provide a unstyled look by default.
If we're not going to show visible numbers next to the items, there's no point for using
<ol>