HTML, tt, i, b, big, small tags


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


Standard Attributes

id, class, title, style, dir, lang
For a full description, go to StandardAttributes.

Event Attributes

onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown onkeyup
For a full description, go to EventAttributes.
HTML, tt, i, b, big, small tags Reviewed by 1000sourcecodes on 09:55 Rating: 5
Powered by Blogger.