The best HTML DOM Menu objects Tutorial In 2024, In this tutorial you can learn Menu Object,Menu object properties,Standard properties and events,related articles,
Menu object represents the HTML <menu> element.
Note: <menu> element is currently no major browsers support.
You can use getElementById () to access the <menu> element:
You can use document.createElement () method to create a <menu> element:
Attributes | description |
---|---|
label | Sets or returns the label attribute menu |
type | Sets or returns the type attribute value menu |
Menu object also supports the standard attributes and events
HTML Reference Manual: HTML <the MENU> tag