HTML <tt> Tag
- Home
- HTML
- JavaScript
- CSS
- Vue
- React
- Python3
- Java
- C
- C++
- C#
- AI
- Go
- SQL
- Linux
- VS Code
- Bootstrap
- Git
- Local Bookmarks
HTML Reference
HTML Tag List (Alphabetical) HTML Tag List (By Function) HTML Global Attributes HTML Events HTML Canvas HTML Audio/Video HTML Valid DOCTYPES HTML Color Names HTML Color Picker HTML Color Mixer HTML Emoji HTML Character Sets HTML ASCII Reference HTML ISO-8859-1 Reference HTML Symbol Entities Reference HTML URL Encoding Reference HTML Language Codes Reference HTML Country/Region Codes HTTP Status Messages HTTP Methods: GET vs POST Px/Em Conversion Tool Keyboard Shortcuts
HTML Tags
[<!-->] [<!DOCTYPE>] [<a>] [<abbr>] [<acronym>] [<address>] [<applet>] [<area>] [<article>] [<aside>] [<audio>] [<b>] [<base>] [<basefont>] [<bdi>] [<bdo>] [<big>] [<blockquote>] [<body>] [<br>] [<button>] [<canvas>] [<caption>] [<center>] [<cite>] [<code>] [<col>] [<colgroup>] [<command>] [<datalist>] [<dd>] [<del>] [<details>] [<dfn>] [<dialog>] [<dir>] [<div>] [<dl>] [<dt>] [<em>] [<embed>] [<fieldset>] [<figcaption>] [<figure>] [<font>] [<footer>] [<form>] [<frame>] [<frameset>] [<head>] [<header>] [<hgroup>] [<h1> - <h6>] [<hr>] [<i>] [<iframe>] [<img>] [<input>] [<ins>] [<kbd>] [<keygen>] [<label>] [<legend>] [<li>] [<link>] [<main>] [<map>] [<mark>] [<menu>] [<meta>] [<meter>] [<nav>] [<noframes>] [<noscript>] [<object>] [<ol>] [<optgroup>] [<option>] [<output>] [<p>] [<param>] [<pre>] [<html>] [<picture>] [<progress>] [<q>] [<rp>] [<rt>] [<ruby>] [<s>] [<samp>] [<script>] [<section>] [<select>] [<small>] [<source>] [<span>] [<strike>] [<strong>] [<style>] [<sub>] [<summary>] [<sup>] [<table>] [<tbody>] [<td>] [<textarea>] [< template>] [<tfoot>] [<th>] [<thead>] [<time>] [<title>] [<tr>] [<track>] [<tt>]
HTML <tt> Tag
Example
Use the <tt> tag to define teletype text:
<p>This is a <tt>teletype</tt> text.</p>
Browser Support
| Element | Chrome | Edge | Firefox | Safari | Opera |
|---|---|---|---|---|---|
| <tt> | Yes | Yes | Yes | Yes | Yes |
Definition and Usage
The <tt> tag defines teletype text.
Differences Between HTML 4.01 and HTML5
The <tt> tag is not supported in HTML5. Use CSS instead.
Global Attributes
The <tt> tag supports the Global Attributes in HTML.
Event Attributes
The <tt> tag supports the Event Attributes in HTML.
Related Pages
HTML tutorial: HTML Text Formatting
YouTip