HTML <menu> tag
definitie en gebruik
<menu>
etiket definieert een ongesorteerde inhoudslijst.
kan worden gebruikt <menu>
etiketten en <li> etiket samen menu-items aanmaken.
Let op:<menu>
etiket is <ul> tag alternatieven, de browser ziet deze twee lijsten als gelijk.
Andere referenties:
HTML reference manual:<ul> tag
Global attributes
The <menu> tag also supports Global attributes in HTML.
event attributes
The <menu> tag also supports Event attributes in HTML.
Default CSS settings
Most browsers will display the following default values <menu>
Element:
menu { display: block; list-style-type: disc; margin-block-start: 1em; margin-block-end: 1em; margin-inline-start: 0px; margin-inline-end: 0px; padding-inline-start: 40px; }
Browser support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support |