HTML <미터> 양식 속성
예시
양식 외부에 위치한 <meter> 요소(그러나 여전히 양식의 일부임):
<form action="/action_page.php" method="get" id="form1">
First name: <input type="text" name="fname"><br>
<input type="submit" value="Submit">
</form>
<p><label for="anna">Anna's score:</label>
<meter id="anna"
form="form1" name="anna" min="0" low="40" high="90" max="100"
value="95"></meter></p>
정의 및 사용
form
속성은 태그가 속한 형식을 지정 합니다
<meter>
.
이 속성의 값은
동일한 문서에 있는 요소 의 id
속성 과 같아야 합니다.
<meter>
브라우저 지원
Attribute | |||||
---|---|---|---|---|---|
form | Not supported | Not supported | Not supported | Not supported | Not supported |
통사론
<meter form="form_id">
속성 값
Value | Description |
---|---|
form_id | Specifies the form element the <meter> element belongs to. The value of this attribute must be the id attribute of a <form> element in the same document. |
❮ HTML <미터> 태그