HTML <object> แอตทริบิวต์ข้อมูล
ตัวอย่าง
วิธีใช้ <object> องค์ประกอบเพื่อฝังรูปภาพ:
<object data="pic_trulli.jpg" width="300" height="200"</object>
ความหมายและการใช้งาน
แอตทริบิวต์data
ระบุ URL ของทรัพยากรที่จะใช้โดยวัตถุ
รองรับเบราว์เซอร์
Attribute | |||||
---|---|---|---|---|---|
data | Yes | Yes | Yes | Yes | Yes |
ไวยากรณ์
<object data="URL">
ค่าแอตทริบิวต์
Value | Description |
---|---|
URL | Specifies the URL of the resource to be used by the object. Possible values:
|
❮ แท็ก HTML <object>