html Tt Tag

In the html <tt> tag is used to identify teletype text and it tag is a font - style tag. Which tag is not support in html5 and you can use alternative css element.

The standard attributes are class, dir, id, lang, title, xml:lang and style and event attributes are onclick, ondblclick, onmousedown, onmousemove, onmouseout, onmouseover, onkeyup, onkeypress, onkeydown and onmouseup.

Syntax:

<tt> --- </tt>

Example Code

<tt> Font bold size </tt>

Out Put:



Font bold size




Content