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월.
* Some parts of this feature may have varying levels of support.
HTML <optgroup> 요소는 <select> 요소의 옵션을 묶을 수 있습니다.
| 없음. |
| 0개 이상의 <option> 요소. |
| 여는 태그는 필수입니다. 바로 뒤따르는 요소가 다른 <optgroup>이거나, 자신이 부모의 마지막 자식이라면 닫는 태그를 생략할 수 있습니다. |
| <select> 요소. |
| 없음 |
| HTMLOptGroupElement |
참고 : <optgroup> 요소는 중첩할 수 없습니다.
이 요소는 전역 특성을 포함합니다.
disabled지정한 경우 모든 하위 옵션을 선택할 수 없습니다. 브라우저에서, 비활성화 옵션은 주로 회색으로 보이며, 클릭과 포커스 등 모든 이벤트를 받지 않습니다.
label옵션 그룹의 이름. 브라우저가 그룹의 이름을 표시할 때 사용할 수 있습니다. 필수로 지정해야 합니다.
| HTML # the-optgroup-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.