코드랩 레퍼런스

<optgroup> 본문

HTML

<optgroup>

webstoryboy 2016. 6. 4. 17:08
<optgroup> 태그는 <option> 리스트를 그룹화합니다.
특징 설명
콘텐츠 카테고리 -
콘텐츠 모델 -
DOM 인터페이스 HTMLOptGroupElement
콘텐츠 속성 Global Attributes, Event Attributes
콘텐츠 요소 Inline Element
닫는 태그 사용(<optgroup>~</optgroup>)
시각적 표현 -
버전 HTML4

Definition

  • <optgroup> 태그는 <option> 리스트를 그룹화합니다.
  • <select> 태그의 옵션 리스트가 많다면 쉽게 선택할 수 있도록 그룹화 할 수 있습니다.

CrossBroswing

  • HTML5에서 reversed 속성이 새로 생겼습니다.

Ad

Comments