<TT> | NN all IE all HTML all |
<TT>...</TT> | HTML End Tag: Required |
The tt element renders its content as monospaced text (indicating a teletype output). The element is intended to be strictly a formattingas opposed to a contextualelement. If you are looking for a contextual setting for computer program code or input, see the code, kbd, and samp elements. As with most font-related elements, the use of style sheets is preferred. |
|
Example | |
<P>The computer said, <TT>"That does not compute."</TT></P> |
|
Object Model Reference | |
[window.]document.getElementById(elementID)
|
|
Element-Specific Attributes | |
None. |
|
Element-Specific Event Handler Attributes | |
None. |
lang | NN 3 IE 4 HTML 4 |
lang="languageCode" | Optional |
The language being used for the element's attribute values and content. A browser can use this information to assist in proper rendering of content with respect to details such as treatment of ligatures (when supported by a particular font or required by a written language), quotation marks, and hyphenation. Other applications and search engines might use this information to aid the selection of spell-checking dictionaries and the creation of indices. |
|
Example | |
<SPAN lang="de">Deutsche Bundesbahn</SPAN> |
|
Value | |
Case-insensitive language code. |
|
Default | |
Browser default. |
|
Object Model Reference | |
[window.]document.getElementById(elementID).lang
|