Web multimedia elementtien viittausopas

<bgsound> -elementti

属性 Toiminto
id A unique id for the element.
src Lähdekoodin sijainti (URL).
balance Tasapaino. (-10000=vasen, +10000=oikea).
loop Kierrosten määrä. (-1=无穷大).
volume Äänenvoimakkuus. (0=max, -10000=min).

<embed> -elementti

属性 定义
autostart Automaattinen aloitus. (true | false).
height Elementin korkeus kuvapisteinä tai %.
hidden Elementin näkyvyys. (true | false).
src Lähdekoodin sijainti (URL).
width Elementin leveys kuvapisteinä tai %.

Please also refer to the stylized attributes, general HTML attributes, and event attributes at the bottom of the page:

<applet> -elementti

属性 定义
alt Vaihtoehtoinen teksti.
archive Arkistotiedostojen sijainnit (URL).
code Sovelluksen koodin sijainti (URL).
codebase Kaikkien tiedostojen peruspaikka (oletus-URL).
height Sovelluksen korkeus kuvapisteinä tai %.
name Sovelluksen nimi.
object Sovelluksen tallennettu esitys. Älä käytä.
width Sovelluksen leveys kuvapisteinä tai %.

Please also refer to the stylized attributes, general HTML attributes, and event attributes at the bottom of the page:

<object> -elementti

属性 定义
archive Arkistotiedostojen sijainnit (URL).
classid Objektin sijainti (URL).
codebase Peruspolku, jota käytetään suhteellisten URI:iden ratkaisemiseen, jotka määritetään classid, data, ja archive attribuutit.
codetype The content type of the code.
data The location (URL) of object data.
declare Do not instantiate (execute) the object.
height The height of the object in pixels or %.
name The object's name.
standby Text to display while object is loading.
tabindex The position in the tab order
type The content type of the object.
usemap The location (URL) of an image map.
width The width of the player in pixels or %.

Please also refer to the stylized attributes, general HTML attributes, and event attributes at the bottom of the page:

<param> element

The param element defines parameters for object or applet elements.

属性 定义
id A unique id for the element.
name Parameter name.
type Parameter content type.
value Parameter value.
valuetype Parameter value type.

Stylized attributes

Note:These parameters are not recommended. Use styles instead.

属性 定义
align The alignment of the object.
border The border with in pixels.
hspace The horizontal white-space (margin) in pixels.
vspace The vertical white-space (margin) in pixels.

通用 HTML 属性

属性 定义
class The element's class.
dir The directionality of the element.
id A unique id for the element.
lang The language used by the element.
style Elementin tyyli.
title Elementin otsikko.

Standarditapahtuma

Tapahtuma Käsittely
onclick Hiiren klikkaus
ondblclick Hiiren kaksoisklikkaus
onmousedown Hiiren painike painettu alas
onmouseup Hiiren painike vapautettu
onmouseover Kursori siirtyi elementin päälle
onmousemove Kursori siirtyi elementin sisälle
onmouseout Kursori siirtyi elementin ulkopuolelle
onkeypressed Avain painettu ja vapautettu elementin yllä
onkeydown Avain painettu alas elementin yllä
onkeyup Avain vapautettu elementin yllä