<menu>
InteractiveRepresents an unordered list of interactive items or commands, similar to ul but semantically for toolbars and context menus.
Common Attributes
typeExample
<menu> <li><button>Copy</button></li> <li><button>Paste</button></li> </menu>
About the <menu> Element
The <menu> HTML element belongs to the Interactive category of HTML elements. Represents an unordered list of interactive items or commands, similar to ul but semantically for toolbars and context menus. Understanding when and how to use this element is essential for building well-structured, accessible, and SEO-friendly web pages.
The <menu> element requires both an opening <menu> and closing </menu> tag. Content placed between these tags becomes the element's children. This element is part of the current HTML Living Standard and is supported in all modern browsers including Chrome, Firefox, Safari, and Edge.
Proper use of semantic HTML elements like <menu> improves document structure, helps screen readers interpret content correctly, and provides signals to search engines about the purpose of different sections of your page. This leads to better accessibility scores, improved SEO rankings, and more maintainable code.