Contact Number
Email Address

menu

menu

Definition and Usage

The <menu> tag defines a list/menu of commands. The <menu> tag is used for context menus, toolbars and for listing form controls and commands. It can be used to create menus such as popup menus and context menus.  The HTML <menu> tag defines an unordered menu list in the HTML document. This tag is also commonly referred to as the <menu> element. This tag has been deprecated in HTML and redefined in HTML5. The <menu> tag is written as <menu></menu> with its contents inserted between the start and end tags. The type attribute can be used to specify the type of menu being declared. The label attribute could also be used to provide a label for the menu. Typcially, a <menu> element will contain one or more <li> or <menuitem> elements, which could potentially contain other <menu> elements. Syntax <menu <menuitem>...</menuitem> <menuitem>...</menuitem <menuitem>...</menuitem> </menu>