Last active
August 29, 2015 14:19
-
-
Save Garbee/a2c8fefcd8d45ecfe3fd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The menu element is used to define a list as a menu of commands. The menu element has two specific attributes as well as can accept global and event attributes in HTML. | |
The '''menu''' element is currently unsupported by major browsers. | |
===Attributes=== | |
The '''menu''' element will specifically accept the '''label''' attribute whose value is ''text'' and the '''type''' attribute whose value can be ''context'', ''toolbar'', or ''list''. ''list'' is the default value. | |
The '''menu''' element also accepts [[html/global_attributes | global attributes]] and [[html/event_attributes | event attributes]]. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The menu element is used to define a list as a menu of commands. It can have event and global attributes in addition to two of its own. | |
The '''menu''' element has partial support in Firefox only for the context form. | |
===Attributes=== | |
* ''label'' - Text for the label to display for the menu item. | |
* ''type'' - How the menu should be displayed to the user. Possible values are: | |
** ''context'' - Display a series of entries triggered by another element. Like a dropdown for example. | |
** ''list'' - Default. The name could change to ''toolbar'' in HTML 5.1. Displays menu items that are always within view. | |
The '''menu''' element also accepts [[html/global_attributes | global attributes]] and [[html/event_attributes | event attributes]]. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment