HTML 사전

fieldset

Set of Form Controls

설명

The HTML element fieldset (<fieldset>) is used to group several controls as well as labels (<label>) within a web form.

HTML 요소 필드셋(<fieldset>)은 컨트롤과 레이블(<label>)을 하나의 웹 폼 안에 묶어주기 위해 사용된다.

Usage Context

Permitted content an optional <legend> element, followed by flow content
Tag omission none, both the start tag and the end tag are mandatory
Permitted parent elements any flow content
Normative document HTML5, section 4.10.5 ( HTML4.01, section 17)

속성

이 요소는 전역속성을 지원한다.

disabled - HTML5

비활성

If this Boolean attribute is set, the form controls that are its descendants, except descendants of its first optional <legend> element, are disabled, i.e., not editable. They won't received any browsing events, like mouse clicks or focus-related ones. Often browsers display such controls as gray.

이 불리언 속성이 설정될 경우 첫 선택된 <legend>요소를 제외한 하위의 폼 컨트롤이 비활성된다. 다시말해 수정 불가능하게 된다. 비활성이 되면 클릭에서부터 포커스 관련 요소까지 어떠한 이벤트(명령 수행 요청)도 받지 않을 것이다. 보통 브라우져들은 회색빛으로 컨트롤들을 표시하게 된다.

form - HTML5

This attribute has the value of the id attribute of the <form> element its related to. Its default value is the id of the nearest <form> element it is a descendant.

이 속성은 이 요소와 관련된 <form> 요소의 id속성값을 갖는다. 기본값으로는 이 요소에서 가장 가까운 하위 폼<form> 요소를 갖는다.

name - HTML5

이름

The name associated with the group, which is submitted with the form data.

폼 정보를 보낼때 사용될 묶여진 그룹 이름.

참고 : The label for the field set is given by the first <legend> element that is a child of this field set.
필드셋의 레이블은 필드셋 내부의 첫 <legend>요소로 정해진다.

예제

Please see the <form> page for examples on <fieldset>. 

DOM Interface

This element implements the DOM HTMLFieldSetElement interface.

호환성

Desktop
기능 구글크롬 파이어폭스Gecko) 인터넷 익스플로러 Opera Safari
기본적인 지원 지원 지원 지원 지원 지원
Mobile
기능 안드로이드 파이어폭스 모바일(Gecko) 인터넷 익스플로러 모바일 오페라 모바일 사파리 모바일
기본적인 지원          

참고

댓글

댓글 본문
버전 관리
crannoc
현재 버전
선택 버전
graphittie 자세히 보기