The <menu> element represents a list of commands or menu items that may be applied to an HTML document as context menus, toolbars or as many other useful applications.




  • label; Defines a name for the visible label for the menu
  • type; Defines the type of the menu to use; It may be:
    • list; In the form of popup, representing a group of commands activated through another element
    • toolbar; Specifies a toolbar type of a menu where active commands let a user interact immediately
    • context; Specifies a context type of a menu where menu must be activated before user is allowed to interact with it
  • global attributes
  • event attributes

NOTE: The <menu> element unfortunately is currently not very well supported by the browsers.


The menu tag example with menu items:


›› go to examples ››