HTML <embed> ประเภทแอตทริบิวต์
ตัวอย่าง
รูปภาพที่มีประเภทสื่อที่ระบุ:
<embed type="image/jpg" src="pic_trulli.jpg">
ความหมายและการใช้งาน
แอตทริบิวต์type
ระบุประเภทสื่ออินเทอร์เน็ต (เดิมเรียกว่าประเภท MIME) ของเนื้อหาที่ฝังตัว
รองรับเบราว์เซอร์
Attribute | |||||
---|---|---|---|---|---|
type | Yes | Yes | Yes | Yes | Yes |
ไวยากรณ์
<embed 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 <ฝัง>