HTML and CSS Reference
In-Depth Information
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
onlayoutcomplete, onmouseenter, onmouseleave, onreadystatechange
Element-Specific Attributes
manifest This HTML5 attribute is set to the document's application cache manifest, which
is used to describe the various components the page relies upon. It is generally used to
support offline access.
scroll This attribute is used to set whether or not scroll bars should show for the
document. The default value of auto puts in scroll bars as needed. This attribute, while
documented by Microsoft, does not appear to work properly and should be avoided.
xmlns This attribute declares a namespace for XML-based custom tags in the document.
For XHTML, this value is always , though it could be
some other value in the case of some custom language or mixture of languages.
version This Internet Explorer 6-specific attribute was used to indicate the version of
HTML being used. It is no longer used because it is redundant of what is provided by the
<!DOCTYPE> statement.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="" lang="en">
<title> Minimal Document </title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<p> Hello world! </p>
HTML 2, 3.2, 4, 4.01,5
XHTML 1.0, 1.1, Basic
Firefox 1+, Internet Explorer 2+,
Netscape 1+, Opera 2.1+, Safari 1+
Search WWH ::

Custom Search