HTML and CSS Reference
In-Depth Information
Attribute
Description
onloadedmetadata
The duration and dimensions of the video or audio element are determined
(HTML5)
onloadstart
The browser begins looking for media data in the video or audio element
(HTML5)
onpause
The video or audio is paused (HTML5)
onplay
The video or audio playback is initiated (HTML5)
onplaying
The video or audio playback starts (HTML5)
onprogress
The browser fetches data for the video or audio (HTML5)
onratechange
The video or audio data changes (HTML5)
onseeked
A seek operation on the audio or video element ends (HTML5)
onseeking
Seeking is initiated on the audio or video (HTML5)
onstalled
An attempt to retrieve data for the video or audio is not forthcoming (HTML5)
ontimeupdate
The current playback position of the video or audio element changes (HTML5)
onvolumechange
The volume of the video or audio element changes (HTML5)
onwaiting
Playback of the video or audio stops because the next frame is unavailable (HTML5)
HTML Elements and Attributes
The following table contains an alphabetic listing of the elements and attributes sup-
ported by HTML. Some attributes are not listed in this table, but are described instead in
the general attributes tables presented in the previous section of this appendix.
Element/Attribute
Description
Inserts a comment into the document (comments are not displayed in the
rendered page)
<!--ƒƒ text ƒ-->
<!doctype>
Specifies the Document Type Definition for a document
<a>ƒ</a>
Marks the beginning and end of a link
ƒƒƒcharset=” text
Specifies the character encoding of the linked document (obsolete)
ƒƒƒcoords=” valueƒlist
Specifies the coordinates of a hotspot in a client-side image map; the
value list depends on the shape of the hotspot: shape=”rect” “ left , right ,
top , bottom ”shape=”circle” “ x_center , y_center , radius ”shape=”poly”
x1 , y1 , x2 , y2 , x3 , y3 , ” (obsolete)
ƒƒƒhref=” url
Specifies the URL of the link
ƒƒƒhreflang=” text
Specifies the language of the linked document
ƒƒƒname=” text
Specifies a name for the enclosed text, allowing it to be a link target (obsolete)
ƒƒƒrel=” text
Specifies the relationship between the current page and the link specified by
the href attribute
ƒƒƒrev=” text
Specifies the reverse relationship between the current page and the link speci-
fied by the href attribute (obsolete)
ƒƒƒshape=”rect|circle|ƒ
polygon”
Specifies the shape of the hotspot (obsolete)
ƒƒƒtitle=” text
Specifies the pop-up text for the link
ƒƒƒtarget=” text
Specifies the target window or frame for the link
ƒƒƒtype=” mime-type
Specifies the data type of the linked document
<abbr>ƒ</abbr>
Marks abbreviated text
Search WWH ::




Custom Search