HTML <tt> <i> <b> <big> <small> tags
Definition and Usage
The following elements are font style elements. We are not against using these tags. However, if you simply want to change the style of the text through these tags, it is recommended to use style sheets to achieve more rich effects.
<tt> | Present text effect similar to typewriter or monospaced. |
<i> | Display italic text effect. |
<b> | Present bold text effect. |
<big> | Present large font effect. |
<small> | Present small font effect. |
Differences Between HTML and XHTML
None.
Standard Attributes
id, class, title, style, dir, lang
For a complete description, please visitStandard Attributes.
Event Attributes
onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown onkeyup
For a complete description, please visitEvent Attributes.
TIY Example
- Text Formatting
- This example demonstrates how to format text in an HTML file