From 4b1a9203c547c019fc5398082ae19a3f3d4c3efe Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:41:15 -0500 Subject: initial commit --- files/ca/web/html/element/tt/index.html | 58 +++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 files/ca/web/html/element/tt/index.html (limited to 'files/ca/web/html/element/tt') diff --git a/files/ca/web/html/element/tt/index.html b/files/ca/web/html/element/tt/index.html new file mode 100644 index 0000000000..d4dc66637a --- /dev/null +++ b/files/ca/web/html/element/tt/index.html @@ -0,0 +1,58 @@ +--- +title: +slug: Web/HTML/Element/tt +tags: + - Element + - HTML + - Obsolete + - Reference + - Web +translation_of: Web/HTML/Element/tt +--- +
{{ obsolete_header() }}
+ +

Sumari

+ +

L'element HTML de text teletip (<tt>) produeix un element en línia que es mostra amb la font monotip predeterminada del navegador. Aquest element tenia la intenció de donar un estil de text com es mostrar en una pantalla d'amplada fixa, tal com un teletip. Probablement és més comú mostrar el tipus d'amplada fixa utilitzant l'element {{ HTMLElement("code") }}.

+ +
Aquest element és obsolet. Utilitzeu un element més apropiat, com {{ HTMLElement("code") }} o {{ HTMLElement("span") }} amb CSS, al seu lloc.
+ +

Atributs

+ +

Aquest element no té altres atributs que els atributs globals, comuns a tots els elements.

+ +

Interfície DOM

+ +

Aquest element implementa la interfície {{domxref('HTMLElement')}}.

+ +
+

Nota d'implementació: fins Gecko 1.9.2 inclos, Firefox implementa la interfície {{domxref('HTMLSpanElement')}} per a aquest element.

+
+ +

Exemple

+ +
<p>Enter the following at the telnet command prompt: <code>set localecho</code><br />
+
+The telnet client should display: <tt>Local Echo is on</tt></p>
+
+ +

Resultat

+ +

Enter the following at the telnet command prompt: set localecho
+ The telnet client should display: Local Echo is on

+ +

Notes

+ + + +

Veure

+ + + +
{{ HTMLRef }}
-- cgit v1.2.3-54-g00ecf