HTML menu tag

HTML menu tag is used to specify a list of commands in HTML.

The type attribute specifies the type of menu to display.


Syntax

Output

What is HTML menu tag?


The script only works in Firefox.

List of HTML menu tag attributes

Sr. No. Atribute options Description
1 type Specify the type of menu to display. The values for this attribute are context,toolbarpopup and list
2 label This specified the label of menu.

Resources and References

1. HTML living standard
2. W3C project using Github