Web/API/HTMLMenuElement

From Get docs

Draft This page is not complete.


This is an experimental technologyCheck 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 StandardThe definition of 'HTMLMenuElement' in that specification. Living Standard No change from latest snapshot, Unknown
HTML 5.2The definition of 'HTMLMenuElement' in that specification. Recommendation Snapshot of the HTML Living Standard.

Removed the context type.

HTML 5.1The definition of 'HTMLMenuElement' in that specification. Recommendation Snapshot of the HTML Living Standard.

Initial definition.

Browser compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet

HTMLMenuElement

Experimental'

Chrome

Full support Yes

Edge

Full support 12

Firefox

Full support 8

IE

Full support Yes

Opera

Full support Yes

Safari

Full support Yes

WebView Android

Full support Yes

Chrome Android

Full support Yes

Firefox Android

Full support 8

Opera Android

Full support Yes

Safari iOS

Full support Yes

Samsung Internet Android

Full support Yes

compact

Deprecated'

Chrome

Full support Yes

Edge

Full support 12

Firefox

Full support 8

IE

Full support Yes

Opera

Full support Yes

Safari

Full support Yes

WebView Android

Full support Yes

Chrome Android

Full support Yes

Firefox Android

Full support 8

Opera Android

Full support Yes

Safari iOS

Full support Yes

Samsung Internet Android

Full support Yes

label

Deprecated'

Chrome

No support No

Edge

No support No

Firefox

Full support 8

IE

No support No

Opera

No support No

Safari

?

WebView Android

No support No

Chrome Android

No support No

Firefox Android Full support 8

Notes'

Full support 8

Notes'

Notes' Nested menus are not supported.

Opera Android

No support No

Safari iOS

?

Samsung Internet Android

No support No

type

Deprecated'

Chrome

No support No

Edge

No support 12 — 79

Firefox

Full support 8

IE

Full support Yes

Opera

No support No

Safari

?

WebView Android

No support No

Chrome Android

No support No

Firefox Android

Full support 8

Opera Android

No support No

Safari 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