Rujukan Elemen Multimedia Web
<bgsound> element
Atribut |
功能 |
id |
Id unik untuk elemen. |
src |
The location (URL) of the source file. |
balance |
The balance. (-10000=left, +10000=right). |
loop |
The number of loops. (-1=infinite). |
volume |
The volume. (0=max, -10000=min). |
<embed> element
Atribut |
Pengertian |
autostart |
Automatic start. (true | false). |
height |
The height of the element in pixels or %. |
hidden |
The visibility of the element. (true | false). |
src |
The location (URL) of the source file. |
width |
The width of the element in pixels or %. |
Silakan lihat atribut yang disajikan, atribut HTML umum, dan atribut acara di bawah halaman:
<applet> element
Atribut |
Pengertian |
alt |
An alternate text. |
archive |
The locations (URLs) of archive files. |
code |
The location (URL) of the applet code. |
codebase |
The base location (default URL) for all files. |
height |
The height of the applet in pixels or %. |
name |
The name of the applet. |
object |
A saved representation of the applet. Do not use. |
width |
The width of the applet in pixels or %. |
Silakan lihat atribut yang disajikan, atribut HTML umum, dan atribut acara di bawah halaman:
<object> element
Atribut |
Pengertian |
archive |
The locations (URLs) of archive files. |
classid |
The location (URL) of the object. |
codebase |
The base path used to resolve relative URIs specified by
classid, data, dan archive attributes. |
codetype |
Jenis konten kode. |
data |
Lokasi (URL) data objek. |
declare |
Jangan instansiasi (melaksanakan) objek. |
height |
Tinggi objek dalam piksel atau %. |
name |
Nama objek. |
standby |
Teks untuk ditampilkan saat objek sedang dimuat. |
tabindex |
Posisi dalam urutan tab. |
type |
Jenis konten objek. |
usemap |
Lokasi (URL) peta gambar. |
width |
Lebar pemain dalam piksel atau %. |
Silakan lihat atribut yang disajikan, atribut HTML umum, dan atribut acara di bawah halaman:
Elemen <param>
Elemen param mengdefinisi parameter untuk elemen object atau applet.
Atribut |
Pengertian |
id |
Id unik untuk elemen. |
name |
Nama parameter. |
type |
Jenis konten parameter. |
value |
Nilai parameter. |
valuetype |
Jenis nilai parameter. |
Atribut yang disajikan
Keterangan:Parameter ini tidak disokongkan. Gunakan gaya sebagai gantinya.
Atribut |
Pengertian |
align |
Penyejajahan objek. |
border |
Garis bata dalam piksel. |
hspace |
Ruangan putih horizontal (margin) dalam piksel. |
vspace |
Ruangan putih vertikal (margin) dalam piksel. |
Atribut HTML umum
Atribut |
Pengertian |
class |
Kelas elemen. |
dir |
Arah arah elemen. |
id |
Id unik untuk elemen. |
lang |
Bahasa yang digunakan oleh elemen. |
style |
The element's style. |
title |
The elements title. |
Event Standard
Event |
Handler |
onclick |
mouse clicked |
ondblclick |
mouse double clicked |
onmousedown |
mouse button pressed down |
onmouseup |
mouse button released |
onmouseover |
cursor moved onto the element |
onmousemove |
cursor moved within the element |
onmouseout |
cursor moved away from the element |
onkeypressed |
key pressed and released over the element |
onkeydown |
key pressed down over the element |
onkeyup |
key released over the element |