Example Format text in a document: <tt>Teletype text</tt> <i>Italic text</i> <b>Bold text</b> ...
Example
Format text in a document:<tt>Teletype text</tt> <i>Italic text</i> <b>Bold text</b> <big>Big text</big> <small>Small text</small> |
Definition and Usage
The <tt>, <i>, <b>, <big>, and <small> tags are all font-style tags. They are not deprecated, but it is possible to achieve richer effect with CSS.<tt> | Renders as teletype or mono-spaced text |
<i> | Renders as italic text |
<b> | Renders as bold text |
<big> | Renders as bigger text |
<small> | Renders as smaller text |
Browser Support
The <tt>, <i>, <b>, <big>, and <small> tags are supported in all major browsers.
Differences Between HTML and XHTML
NONEStandard Attributes
id, class, title, style, dir, lang |
Event Attributes
onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown onkeyup |