HTML and CSS Reference
In-Depth Information
id="unique alphanumeric identifier"
lang="language code"
style="style information"
title="advisory text">
</tt>
Attributes Defined by Internet Explorer
accesskey="key" (5.5)
contenteditable="false | true | inherit"
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)
HTML 4 Event Attributes
onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown,
onmousemove, onmouseout, onmouseover, onmouseup
Events Defined by Internet Explorer
onactivate, onbeforeactivate, onbeforecopy, onbeforecut, onbeforedeactivate,
onbeforeeditfocus, onbeforepaste, onblur, onclick, oncontextmenu,
oncontrolselect, oncopy, oncut, ondblclick, ondeactivate, ondrag,
ondragend, ondragenter, ondragleave, ondragover, ondragstart, ondrop,
onfocus, onfocusin, onfocusout, onhelp, onkeydown, onkeypress, onkeyup,
onlosecapture, onmousedown, onmouseenter, onmouseleave, onmousemove,
onmouseout, onmouseover, onmouseup, onmousewheel, onmove, onmoveend,
onmovestart, onpaste, onpropertychange, onreadystatechange, onresize,
onresizeend, onresizestart, onselectstart, ontimeerror
Examples
<p> Here is some <tt> monospaced text </tt></p> .
<p> Source code in this tag: <tt> main() { printf("hello world"); } </tt></p>
Compatibility
HTML 2, 3.2, 4, 4.01
XHTML 1.0, 1.1
Firefox 1+, Internet Explorer 2+,
Netscape 1+, Opera 2.1+, Safari 1+
Note
• This element has been deprecated by the W3C under XHTML 1.1 and marked as
obsolete HTML5. However, like other HTML5 obsolete items this element continues to
work in browsers. The look of the tag can be replicated with the font or font-family
CSS property set to a value of monospace or a common fixed-width font name.
<u> (Underline)
This element indicates that the enclosed text should be displayed underlined. It is deprecated or
obsolete in most specifications in favor of the CSS property text-decoration: underline .
Search WWH ::




Custom Search