سمة شكل <كائن> HTML

❮ علامة <كائن> 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