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 http://www.w3.org/1999/xhtml , 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.
Example
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title> Minimal Document </title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
</head>
<body>
<p> Hello world! </p>
</body>
</html>
Compatibility
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