HTML menuitem tag

HTML menuitem tag is used to a specify a list of commands.

These menus of commands come under HTML menu tag and should be performed by the user.



How to show HTML menuitem in HTML

These commands can be seen by right click on the image. Select your option and look up the changes.

The example works only in Firefox.

List of HTML menuitem tag attributes

Sr. No. Attribute options Description
1 type Specify the type of menu to display. The values for this attribute are radio,command and checkbox
2 label This specified the label of the menu.
3 default This specified the menu item as a default menu. Its value is default
4 checked This specified the menu item, whether it is selected or not.
5 disabled This specified the menu item, whether it is disabled or not.
6 icon This specified the menu item icon. The value for this is a URL
7 radiogroup This specified the menu item name of the group of commands that will be toggled. This toggled when the command is toggle. This only work for the type radio group.

Resources and References

1.W3C project using Github

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.


Get FREE Access to Toolkit and Resources that we are using in Tutorialdeep that Every Professional Should Have! in one handy PDF.

Download Link Will be Send to Your Email id