-
Notifications
You must be signed in to change notification settings - Fork 22.4k
/
index.md
38 lines (23 loc) · 963 Bytes
/
index.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
title: HTMLMenuElement
slug: Web/API/HTMLMenuElement
page-type: web-api-interface
browser-compat: api.HTMLMenuElement
---
{{APIRef("HTML DOM")}}
The **`HTMLMenuElement`** interface provides additional properties (beyond those inherited from the {{domxref("HTMLElement")}} interface) for manipulating a {{HTMLElement("menu")}} element.
`<menu>` is a semantic alternative to the {{HTMLElement("ul")}} element.
{{InheritanceDiagram}}
## Instance properties
_Inherits properties from its parent, {{domxref("HTMLElement")}}, and its ancestors._
- {{domxref("HTMLMenuElement.compact")}} {{deprecated_inline}}
- : A boolean determining if the menu displays compactly.
## Instance methods
_Inherits methods from its parent, {{domxref("HTMLElement")}}, and its ancestors._
_`HTMLMenuElement` doesn't implement specific methods._
## Specifications
{{Specifications}}
## Browser compatibility
{{Compat}}
## See also
- {{DOMxRef("HTMLMenuItemElement")}}