Your Search Results

    <menu> Redirect 1

    Warning: The content of this article may be out of date. This article differs from the latest specification which can be found at


    The HTML <menu> element represents an unordered list of menu choices, or commands.

    There is no limitation to the depth and nesting of lists defined with the <menu>, <ol> and <ul> elements.

    Usage note: The <menu> and <ul> both represent an unordered list of items. They differ in the way that the <ul> element only contains items to display while the <menu> element contains interactive items, to act on.
    Note: This element was deprecated in HTML4, but reintroduced in HTML5.


    This element includes the global attributes.

    Used to indicate the kind of menu being declared. The values defined under HTML5 are:
    the commands of a context menu; the user can only interact with the commands if that context menu is activated
    a list of active commands that the user can immediately interact with
    an unordered list of items (each represented by an <li> element), each of which represents a command that the user can perform or activate, or, if the element has no li element children, flow content describing available commands
    Gives the label of the menu.


    <menu type="toolbar">
        <menu label="File">
          <button type="button" onclick="new()">New...</button>
          <button type="button" onclick="save()">Save...</button>
        <menu label="Edit">
          <button type="button" onclick="cut()">Cut...</button>
          <button type="button" onclick="copy()">Copy...</button>
          <button type="button" onclick="paste()">Paste...</button>


    Specification Status Comment
    WHATWG HTML Living Standard Living Standard  
    HTML5 Candidate Recommendation  

    Browser compatibility

    Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
    Basic support ? ? ? ? ?
    Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
    Basic support ? ? ? ? ?

    See also

    Document Tags and Contributors

    Contributors to this page: Sheppy
    Last updated by: Sheppy,