HTML . . .
The label defines a menu list that achieves the same display as a sequenceless table, refer to the following example:Two examples of menu button series options ("File" and "Edit"):
Try it out . . .
Browser support
Currently, mainstream browsers do not support the hashtag.
Label definition and instructions for use
The label defines a list of commands or menus. L abels are typically used for text menus, toolbars, and command list options.Tips and comments
Tip: Use CSS to define menu list styles.
The difference between HTML 4.01 and HTML5
HTML 4.01's element is obsolete.
The elements in HTML5 have been redefined.
Property
New :HTML5 new property.
Attributes | value | describe |
---|---|---|
label New | text | Describe the tag of the menu item. |
type New |
context
toolbar list |
Describe the display menu type. The default is "List". |