HTML and CSS Reference
In-Depth Information
itemtype="microdata type in URL format"
lang="language code"
max="positive floating point number"
spellcheck="true | false"
style="style information"
title="advisory text"
value="0 or floating point number">
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
Element-Specific Attributes
max The value of this attribute is a positive floating-point number indicating the
maximum value for progress ; often it will be 100 .
value The value of this attribute is the amount of task complete. This may be a percentage,
but there is no requirement that it be such a measurement.
<p> Progress: <progress id="prog1" max="100.00" value="33.1"> 33.1 </
progress> % </p>
<!-- JavaScript would be used to change the value of this element
dynamically -->
HTML5 Not currently supported by any browsers, but could be simulated in modern browsers
via a custom element and JavaScript.
• There are no units implied for this element.
• This element is not yet implemented in any browser. However, given that most
browsers can handle custom elements, it would be easy enough to simulate the idea
of it and even apply a CSS display property for it. But, without JavaScript changing
value and presentation dynamically, a custom element would have little value.
<q> (Quote)
This element indicates that the enclosed text is a short inline quotation.
Search WWH ::

Custom Search