HTML <object> ประเภทแอตทริบิวต์
ตัวอย่าง
<object> องค์ประกอบที่มีประเภทสื่อที่ระบุ:
<object data="pic_trulli.jpg" type="image/jpg" width="400" height="400"></object>
ความหมายและการใช้งาน
แอตทริบิวต์type
ระบุชนิดสื่ออินเทอร์เน็ตของวัตถุ
รองรับเบราว์เซอร์
Attribute | |||||
---|---|---|---|---|---|
type | Yes | Yes | Yes | Yes | Yes |
ไวยากรณ์
<object type="media_type">
ค่าแอตทริบิวต์
Value | Description |
---|---|
media_type | The Internet media type of the embedded content. Look at IANA Media Types for a complete list of standard media types. |
❮ แท็ก HTML <object>