<legend>
HTML <legend> 요소는 부모 <fieldset> 콘텐츠의 설명을 나타냅니다.
시도해보기
The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request.
| 콘텐츠 카테고리 | 없음. |
|---|---|
| 가능한 콘텐츠 | 구문 콘텐츠. |
| 태그 생략 | 불가능, 시작과 끝에 태그를 추가하는것은 필수입니다. |
| 가능한 부모 요소 |
<fieldset> 요소. <legend>가
첫 번째 자식이어야 합니다.
|
| 가능한 ARIA 역할 | 없음 |
| DOM 인터페이스 | HTMLLegendElement (en-US) |
특성
이 요소는 전역 특성만 포함합니다.
예제
<form>의 예제를 참고하세요.
명세
| Specification |
|---|
| HTML Standard # the-legend-element |
브라우저 호환성
BCD tables only load in the browser