설명
The HTML Definition List (<dl>) element encloses a list of pairs of terms and definitions. A common use for this element is to implement a glossary.
HTML Definition List(<dl>) 는 용어<dt>와 정의<dd>로 쌍을 이룬 값의 리스트를 포함하고 있는 요소이다.
용어<dt>의 정의나 해석<dd>을 달아주기 위한 용도로 주로 사용된다.
<dl> - Definition List
<dt> - Definition Title
<dd> - Definition Descriptio
<dl>안에 용어인 <dt>와 그에 대한 정의(설명)인 <dd>가 반복되는 형식으로 주로 사용된다.
Usage Context
| Permitted content | Zero or more <dt> elements, each followed by one or more <dd> elements. |
| Tag omission | None, must have both a start tag and and an end tag. |
| Permitted parent elements | Any element that accepts flow content. |
| Normative document | HTML5, section 4.5.8; HTML 4.01, section 10.3 |
속성
이 엘리먼트는 전역속성을 지원한다.
예제
<dl>
<dt>Firefox</dt>
<dd>A free, open source, cross-platform, graphical web browser
developed by the Mozilla Corporation and hundreds of volunteers.</dd>
<!-- other terms and definitions -->
</dl>
DOM Interface
호환성
| 기능 | 구글크롬 | 파이어폭스Gecko) | 인터넷 익스플로러 | Opera | Safari |
|---|---|---|---|---|---|
| 기본적인 지원 | 1.0 | 지원 | 지원 | 지원 | 지원 |
| 기능 | 안드로이드 | 파이어폭스 모바일(Gecko) | 인터넷 익스플로러 모바일 | 오페라 모바일 | 사파리 모바일 |
|---|---|---|---|---|---|
| 기본적인 지원 | 지원 | 지원 | 지원 | 지원 | 지원 |

