HTML and CSS Reference
In-Depth Information
Compatibility
HTML5
Not currently supported by any browser, but addressed with a custom element.
Notes
• While this element is not yet supported, it is easily simulated by using a custom tag
or using a <div> tag with a special class.
• Early drafts of HTML5 suggested using a <legend> tag for captioning; later, the
<dt> and <dd> tags were introduced for containing figure caption and figure
content, respectively.
<font> (Font Definition)
This element allows specification of the size, color, and font of the text it encloses.
Standard Syntax (Transitional Only)
<font
class="class name(s)"
color="color name | #RRGGBB"
dir="ltr | rtl"
face="font name"
id="unique alphanumeric identifier"
lang="language code"
size="1 to 7 | +1 to +6 | -1 to -6"
style="style information"
title="advisory text">
</font>
Attributes Defined by Internet Explorer
accesskey="key" (5.5)
contenteditable="false | true | inherit" (5.5)
disabled="false | true" (5.5)
hidefocus="true | false" (5.5)
language="javascript | jscript | vbs | vbscript" (4)
tabindex="number" (5.5)
unselectable="on | off"(5.5)
Attributes Defined by Netscape
point-size="point size for font" (4)
weight="100 | 200 | 300 | 400 | 500
600 | 700 | 800 | 900" (4)
Events Defined by Internet Explorer
onactivate, onbeforedeactivate, onbeforeeditfocus, onblur, onclick,
oncontrolselect, ondblclick, ondeactivate, ondrag, ondragend, ondragenter,
ondragleave, ondragover, ondragstart, ondrop, onfocus, onkeydown,
onkeypress, onkeyup, onhelp, onmousedown, onmouseenter, onmouseleave,
onmousemove, onmouseout, onmouseover, onmouseup, onmove, onmoveend,
onmovestart, onreadystatechange, onresizeend, onresizestart, onselectstart,
ontimeerror
 
Search WWH ::




Custom Search