HTML atribut width embed
contoh
A tinggi dan lebar 200 piksel animasi flash:
<embed src="helloworld.swf" width="200" height="200">
Coba »
Dukungan Browser
Semua browser utama mendukung atribut lebar.
Definisi dan Penggunaan
Atribut width menentukan lebar konten tertanam dalam pixel.
Perbedaan antara HTML 4.01 dan HTML5
<Embed> tag baru dalam tag HTML5.
tatabahasa
<embed width="pixels">
Nilai properti
值 | 描述 |
---|---|
pixels | 规定被嵌入内容的宽度,以像素计(比如 width="100")。 |
HTML <embed> tag