New in HTML5.
This feature is included in the HTML5 specification, but has not been implemented in most mainstream web browsers. Do not use.

<menu> HTML Tag

Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more
Element of
What On Earth Is Semantic Markup? (And Why Should You Learn To Write It)
What does <menu> HTML Tag do?
The <menu> element defines an instance of a menu. This experimental HTML feature has very limited browser support, but may soon be an effective way to add menu items to context menus and to create interactive web application menus.
Display
inline
Usage
semantic | textual

Building Menu Options

The <menu> element defines a menu. It’s designed to help you build pop-up menus using HTML, and is a new element in the HTML 5 specification.


<menu type="context" id="navmenu">
<menuitem label="Home" icon="ico_house.png" onclick="window.open('//index.php?u='+window.location.href);">
</menuitem>
</menu>

Implementation in Modern Browsers

The majority of browsers don’t support <menu> in any form. Only Firefox will render it correctly, and it can only be used where the type attribute of <menu> is set to context. As such, it’s marked Not Implemented since no browser fully supports it.

Claire is seasoned technical writer, editor, and HTML enthusiast. She writes for HTML.com and runs a content agency, Red Robot Media.

Browser Support for menu

iefirefoxchromeedgesafariopera
Not supported.8Not supported.Not supported.Not supported.Not supported.