menu element
<Menu>
Explanation
Menu element allows an user to create options as per his/her choice.
<menu type="Value">
<menu label="Value">
<button type="Type Value" onclick="file_new()">Text</button>
</menu>
Element Specific attributes supported by this tag are:
| Attribute | Value | Description |
| Label | Text | Enables transperant and visible layer for a menu. Web browsers will utilize it to display layers. |
| Type | Content, Toolbar, List | Defines the type of menu to be shown. Default value is "list". |
Example Code:
Result :
- Even if user creates an option/menu, it will be ineffective as this tag is not applicable in any browser.
- The CSS styles can be used to create better style menu lists.
It is available in previous versions of HTML5.
It supports both
Global Attributes and
Event Attributes in HTML5.
Limitations:
It will not function in all the browsers.