HTML and CSS Reference
In-Depth Information
itemscope="itemscope"
itemtype="microdata type in URL format"
spellcheck="true | false"
tabindex="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
Events Defined by Internet Explorer
onlayoutcomplete, onlosecapture, onreadystatechange
Element-Specific Attributes
clear This attribute forces the insertion of vertical space so that the tagged text can be
positioned with respect to images. A value of left clears text that flows around left-aligned
images to the next full left margin; a value of right clears text that flows around right-aligned
images to the next full right margin; and a value of all clears text until it can reach both full
margins. The default value according to the transitional HTML and XHTML specifications is
none , but its meaning generally is supported as just introducing a return and nothing more.
The CSS clear property is preferred over using this attribute.
Examples
<p> This text will be broken here <br> and continued on a new line. </p>
<p> XHTML <br /> syntax! </p>
<address>
PINT Inc. <br>
2105 Garnet Ave <br>
San Diego, CA 92109 <br>
</address>
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+
Notes
• This is an empty element. A closing tag is illegal under all HTML specifications. For
XHTML compatibility, a closing slash is required: <br /> .
• Under the strict (X)HTML specifications and HTML5, the clear attribute is not valid.
The CSS property clear provides the same functionality as the clear attribute.
Search WWH ::




Custom Search