The best HTML <menu> tag Tutorial In 2024, In this tutorial you can learn Examples,Browser Support,Tag definitions and instructions,Tips and Notes,Differences between HTML 4.01 and HTML5,Attributes,Global Properties,Event Properties,
Option two menu buttons series instance ( "File" and "Edit"):
The current mainstream browser does not support the <menu> tag.
<Menu> tag defines a list of commands or menu.
<Menu> tag is generally used for text menus, toolbars and list of command options.
Tip: to define the menu list styles using CSS.
HTML 4.01 The <menu> element is deprecated.
HTML5 The <menu> element has been redefined.
New: HTML5 new property.
属性 | 值 | 描述 |
---|---|---|
label New | text | 描述菜单项的标记。 |
type New | context toolbar list |
描述显示菜单类型. 默认为 "list"。 |
<menu> tag supports the global attributes, view complete the property sheet HTML Global Attributes .
<menu> tag supports all HTML event attributes .