Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015년 7월.
HTML <menu> 요소는 <ul>의 의미론적 대안으로 설명되지만, 브라우저에 의해서는 <ul>과 다르지 않게 다루어집니다. <li> 요소들로 표현되는 항목들의 비정렬 목록을 나타냅니다.
이 요소는 전역 특성만 포함합니다.
<menu>와 <ul> 요소 모두 비정렬 목록을 표현합니다. 주요 차이점은 <ul>이 주로 표시를 위한 항목들을 포함하는 반면, <menu>는 상호작용을 위한 항목들을 포함하도록 의도되어 있습니다. 관련된 <menuitem> 요소는 사용이 중단되었습니다.
참고 : HTML 사양의 초기 버전에서는 <menu> 요소가 컨텍스트 메뉴로서 사용되는 사례가 있었습니다. 이 기능은 오래되었으며 사양에는 포함되어 있지 않습니다.
이 예시에서는, 편집 앱을 위한 툴바를 생성하는 데에 <menu>가 사용됩니다.
이는 기능적으로 다음과 다르지 않습니다.
|
<li>와 <script>, <template>가 0번 이상 존재할 수 있음. |
| 불가능, 시작과 끝에 태그를 추가하는 것은 필수입니다. |
| 플로우 콘텐츠를 허용하는 모든 요소. |
| list |
| directory, group, listbox, menu, menubar, none, presentation, radiogroup, tablist, toolbar or tree |
| HTMLMenuElement |
| HTML # the-menu-element |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2026년 4월 15일 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.