HTML <nesne> formu Özniteliği
Örnek
Bir formun dışında (ancak yine de formun bir parçası) bulunan bir <object> öğesi:
<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>
Tanım ve Kullanım
Nitelik form
, nesnenin ait olduğu formu belirtir.
Bu özniteliğin değeri
, aynı belgedeki id
bir öğenin özniteliğine eşit olmalıdır.
<form>
Tarayıcı Desteği
Attribute | |||||
---|---|---|---|---|---|
form | Not supported | Not supported | Not supported | Not supported | Not supported |
Sözdizimi
<object form="form_id">
Özellik Değerleri
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 <object> etiketi