설명
The HTML Legend Field Element (<legend>) represents a caption for the content of its parent <fieldset>.
fieldset이 담고 있는 내용에 대한 제목.
Usage Context
| Permitted content | Phrasing content |
| Tag omission | none, both the start tag and the end tag are mandatory |
| Permitted parent elements | a <fieldset> whose first child is this <legend> element |
| Normative document | HTML5, section 4.10.5 (HTML4.01, section 17) |
속성
이 엘리먼트는 전역속성을 지원한다.
예제
<fieldset> <legend>HTML이란?</legend> 웹상에서 문서의 정보를 기술하는 언어이다. </fieldset>
출력

DOM Interface
This element implements the HTMLLegendElement interface.
본 엘리먼트는 HTMLLegendElement 인터페이스에 따라서 구현 된다.
호환성
| 기능 | 구글크롬 | 파이어폭스Gecko) | 인터넷 익스플로러 | Opera | Safari |
|---|---|---|---|---|---|
| 기본적인 지원 | 지원 | 지원 | 지원 | 지원 | 지원 |
| 기능 | 안드로이드 | 파이어폭스 모바일(Gecko) | 인터넷 익스플로러 모바일 | 오페라 모바일 | 사파리 모바일 |
|---|---|---|---|---|---|
| 기본적인 지원 |
참고
- 원문 : https://developer.mozilla.org/en/HTML/Element/legend
- HTML5 규약
- 기타 폼 관련 요소:
<form>,<option>,<label>,<button>,<select>,<datalist>,<optgroup>,<fieldset>,<textarea>,<keygen>,<input>,<output>,<progress>and<meter>..

