Why use a list for navigation, not buttons?

I have looked at many navigation menus on the Internet, and they often use lists instead of buttons. What is the reason for this? Why use a button? Thanks.

+3
source share
3 answers

There are (at least) two good reasons to use lists. Using lists can help give an idea of ​​your site structure, which is good from an SEO point of view, but also if people use either their own CSS or screen readers for reasons of accessibility. The second and a bit related to this is that it is very useful when it comes to creating style sheets. You do not need to invent your own way of nesting elements. Just use the lists and go from there. You can then focus on the proper use of the stylesheet by providing different styles for different levels of the hierarchy, first, last, odd, or even a list of items.

+5
source

General purpose lists are used for navigation items in HTML because they present the user with a list of navigation options.

HTML5 offers a bit more semantic accuracy using menu and nav

+4
source

The semantics of the list make it more like a grouped section that I can think of. There is no real (dis) advantage of using list items over other menu definition methods.

+3
source

All Articles