HTML <객체> 양식 속성
예시
양식 외부에 있는 <object> 요소(그러나 여전히 양식의 일부):
<form action="/action_page.php" id="form1">
First name: <input type="text" name="fname"><br>
<input type="submit" value="Submit">
</form>
<object data="pic_trulli.jpg" width="300" height="200"></object>
정의 및 사용
속성 은 form
개체가 속한 형식을 지정합니다.
이 속성의 값은
동일한 문서에 있는 요소 의 id
속성 과 같아야 합니다.
<form>
브라우저 지원
Attribute | |||||
---|---|---|---|---|---|
form | Not supported | Not supported | Not supported | Not supported | Not supported |
통사론
<object form="form_id">
속성 값
Value | Description |
---|---|
form_id | Specifies the <form> element the <object> element belongs to. The value of this attribute must be the id attribute of a <form> element in the same document. |
❮ HTML <객체> 태그