HTML and CSS Reference
In-Depth Information
hidefocus="true | false" (5.5)
language="javascript | jscript | vbs | vbscript" (4)
methods="http-method" (4)
unselectable="off | on" (5.5)
urn="URN string" (4)
HTML 4 Event Attributes
onblur, onclick, ondblclick, onfocus, 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
onactivate, onafterupdate, onbeforeactivate, onbeforecopy, onbeforecut,
onbeforedeactivate, onbeforeeditfocus, onbeforepaste, onblur, onclick,
oncontextmenu, oncontrolselect, oncopy, oncut, ondblclick, ondeactivate,
ondrag, ondragend, ondragenter, ondragleave, ondragover, ondragstart,
ondrop, onfocus, onfocusin, onfocusout, onhelp, onkeydown, onkeypress,
onkeyup, onlosecapture, onmousedown, onmouseenter, onmouseleave,
onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel, onmove,
onmoveend, onmovestart, onpaste, onpropertychange, onreadystatechange,
onresize, onresizeend, onresizestart, onselectstart, ontimeerror
Element-Specific Attributes
charset This attribute defines the character encoding of the linked resource. The value is a
space- and/or comma-delimited list of character sets as defined in RFC 2045.
coords For use with object shapes, this attribute uses a comma-separated list of numbers to
define the coordinates of the object on the page.
href This is the single required attribute for anchors defining a hypertext source link. It
indicates the link target—either a URL or a URL fragment, which is a name preceded by a
hash mark (#) specifying an internal target location within the current document. URLs are
not restricted to Web-based ( http ) documents. URLs might use any protocol supported by
the browser. For example, file , ftp , and mailto work in most user agents.
hreflang This attribute is used to indicate the language of the linked resource and should
be set to whichever language is specified in the core lang attribute. Browsers will likely not
annotate links appropriately with language information, but style sheet rules using attribute
selectors could be used to do this.
Search WWH ::

Custom Search