HTML and CSS Reference
In-Depth Information
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 Introduced by Internet Explorer
onerror, onreadystatechange
Element-Specific Attributes
disabled This initially Microsoft-defined attribute is used to disable a style sheet. The
presence of the attribute is all that is required to disable the style sheet. In conjunction with
scripting, this attribute could be used to turn on and off various style sheets in a document.
While not documented in later versions of Internet Explorer, this attribute is very much
supported and used, since it is part of the DOM standard. Internet Explorer may also
support values of true and false .
media This attribute specifies the destination medium for the style information. The value
of the attribute can be a single media descriptor, such as screen , or a comma-separated list.
Possible values for this attribute include all , aural , braille , print , projection ,
screen , and tv . Other values also might be defined, depending on the browser. Internet
Explorer supports all , print , and screen as values for this attribute.
scoped This HTML5 Boolean attribute is used to indicate if the style sheet should be scoped;
in other words, apply only the tree it is enclosed within. For example, here we see a <style>
tag found within a <noscript> tag.
<style type="text/css" scoped>
h1 {color: red;}
<h1> Error: scripting required </h1>
With the scoped attribute present, the styling rules should be restricted solely to the
elements within the <noscript> tag; thus, other h1 elements would not be colored red.
Given the lack of implementations and some specification unclarity, page authors should
approach this attribute cautiously.
type This attribute is used to define the type of style sheet. The value of the attribute
should be the MIME type of the style sheet language used. The most common current value
for this attribute is text/css , which indicates a CSS format.
xml:space This attribute is included from XHTML 1.0 and is used to specify whether
spaces need to be preserved within the script element or the default whitespace handling
should be employed.
Search WWH ::

Custom Search