HTML and CSS Reference
In-Depth Information
dynsrc="URL of movie" (4)
galleryimg="yes | no | true | false" (6)
hidefocus="true | false" (5.5)
language="javascript | jscript | vbs | vbscript" (4)
loop="infinite | number" (4)
start="fileopen | mouseover" (5)
unselectable="on | off" (5.5)
HTML 4 Event Attributes
onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown,
onmousemove, onmouseout, onmouseover, onmouseup
HTML5 Event Attributes
onabort, onblur, oncanplay, oncanplaythrough, onchange, onclick,
oncontextmenu, ondblclick, ondrag, ondragend, ondragenter, ondragleave,
ondragover, ondragstart, ondrop, ondurationchange, onemptied, onended,
onerror, onfocus, onformchange, onforminput, oninput, oninvalid, onkeydown,
onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart,
onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel,
onpause, onplay, onplaying, onprogress, onratechange, onreadystatechange,
onscroll, onseeked, onseeking, onselect, onshow, onstalled, onsubmit,
onsuspend, ontimeupdate, onvolumechange, onwaiting
Events Defined by Internet Explorer
onabort, onactivate, onafterupdate, onbeforeactivate, onbeforecopy,
onbeforecut, onbeforedeactivate, onbeforeeditfocus, onbeforepaste,
onbeforeupdate, onblur, onclick, oncontextmenu, oncontrolselect, oncopy,
oncut, ondblclick, ondeactivate, ondrag, ondragend, ondragenter, ondragleave,
ondragover, ondragstart, ondrop, onerrorupdate, onfilterchange, onfocus,
onfocusin, onfocusout, onhelp, onload, onlosecapture, onmousedown,
onmouseenter, onmouseleave, onmousemove, onmouseout, onmouseover, onmouseup,
onmousewheel, onmove, onmoveend, onmovestart, onpaste, onpropertychange,
onreadystatechange, onresize, onresizeend, onresizestart, onselectstart,
ontimeerror
Element-Specific Attributes
align
This attribute controls the horizontal alignment of the image with respect to the page.
The default value is
left
. Many browsers, such as Netscape and Internet Explorer
implementations, support the
absbottom
,
absmiddle
,
baseline
, and
texttop
values. This
attribute is deprecated under strict variants of (X)HTML as well as HTML5.
alt
This attribute contains a string to be displayed instead of the image for browsers that
cannot display images.
border
This attribute indicates the width, in pixels, of the border surrounding the image.
HTML5 suggests the element should not be used other than to set a value of
0
, as CSS
should be used instead.