HTMLMenuElement

Draft
This page is not complete.

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The HTMLMenuElement interface provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating <menu> elements.

Properties

This interface has no properties, but inherits properties from: HTMLElement

Methods

This interface has no methods, but inherits methods from: HTMLElement

Specifications

Specification Status Comment
HTML Living Standard
The definition of 'HTMLMenuElement' in that specification.
Living Standard No change from latest snapshot, Unknown
HTML 5.2
The definition of 'HTMLMenuElement' in that specification.
Recommendation Snapshot of the HTML Living Standard.
Removed the context type.
HTML 5.1
The definition of 'HTMLMenuElement' in that specification.
Recommendation Snapshot of the HTML Living Standard.
Initial definition.

Browser compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
HTMLMenuElement
Experimental
Chrome Full support YesEdge Full support 12Firefox Full support 8IE Full support YesOpera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support 8Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
compact
Deprecated
Chrome Full support YesEdge Full support 12Firefox Full support 8IE Full support YesOpera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support 8Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
label
Deprecated
Chrome No support NoEdge No support NoFirefox Full support 8IE No support NoOpera No support NoSafari ? WebView Android No support NoChrome Android No support NoFirefox Android Full support 8
Notes
Full support 8
Notes
Notes Nested menus are not supported.
Opera Android No support NoSafari iOS ? Samsung Internet Android No support No
type
Deprecated
Chrome No support NoEdge No support 12 — 79Firefox Full support 8IE Full support YesOpera No support NoSafari ? WebView Android No support NoChrome Android No support NoFirefox Android Full support 8Opera Android No support NoSafari iOS ? Samsung Internet Android No support No

Legend

Full support
Full support
No support
No support
Compatibility unknown
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.
Deprecated. Not for use in new websites.
Deprecated. Not for use in new websites.
See implementation notes.
See implementation notes.

See also