HTML jenis objek atribut
contoh
Ini memiliki tipe MIME tertentu elemen <object>:
<object width="400" height="400" data="helloworld.swf"
type="application/x-shockwave-flash"></object>
Coba »
Dukungan Browser
Semua browser utama mendukung jenis atribut.
Definisi dan Penggunaan
Atribut type menentukan tipe MIME dari objek.
Perbedaan antara HTML 4.01 dan HTML5
Tidak ada.
tatabahasa
<object type=" MIME_type ">
Nilai properti
值 | 描述 |
---|---|
MIME_type | 被嵌入内容的 MIME 类型。 请参阅 IANA MIME 类型 ,获得标准 MIME 类型的完整列表。 |
HTML <object> tag