Why people use unordered list for menu not ordered list? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why people use unordered list for menu not ordered list?

This question came up my mind when I start to learn making menu or navbar. I saw everyone use unordered list for menu. But we can also use ordered list for this. When we use unordered list we simply remove dot point in css. We can do same thing use ordered list. I hope anyone can answer this question. Thank you for your time

19th Dec 2020, 9:33 AM
🇧🇩Muhammad iAR HOSSAIN🇧🇩
🇧🇩Muhammad iAR HOSSAIN🇧🇩 - avatar
3 Answers
+ 1
You don't have to use them. I personally don't use lists for nav bars. Its extra hassle if you use css flex/grid anyway. Just make your anchors block element.
19th Dec 2020, 1:33 PM
Akib
Akib - avatar
+ 1
Thank you guys for your kind information.
19th Dec 2020, 1:51 PM
🇧🇩Muhammad iAR HOSSAIN🇧🇩
🇧🇩Muhammad iAR HOSSAIN🇧🇩 - avatar