aboutsummaryrefslogtreecommitdiff
path: root/files/ca/web/html/element/tt
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:41:15 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:41:15 -0500
commit4b1a9203c547c019fc5398082ae19a3f3d4c3efe (patch)
treed4a40e13ceeb9f85479605110a76e7a4d5f3b56b /files/ca/web/html/element/tt
parent33058f2b292b3a581333bdfb21b8f671898c5060 (diff)
downloadtranslated-content-4b1a9203c547c019fc5398082ae19a3f3d4c3efe.tar.gz
translated-content-4b1a9203c547c019fc5398082ae19a3f3d4c3efe.tar.bz2
translated-content-4b1a9203c547c019fc5398082ae19a3f3d4c3efe.zip
initial commit
Diffstat (limited to 'files/ca/web/html/element/tt')
-rw-r--r--files/ca/web/html/element/tt/index.html58
1 files changed, 58 insertions, 0 deletions
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: <tt>
+slug: Web/HTML/Element/tt
+tags:
+ - Element
+ - HTML
+ - Obsolete
+ - Reference
+ - Web
+translation_of: Web/HTML/Element/tt
+---
+<div>{{ obsolete_header() }}</div>
+
+<h2 id="Sumari">Sumari</h2>
+
+<p>L'element HTML de text teletip (<code>&lt;tt&gt;</code>) 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") }}.</p>
+
+<div class="note">Aquest element és obsolet. Utilitzeu un element més apropiat, com {{ HTMLElement("code") }} o {{ HTMLElement("span") }} amb CSS, al seu lloc.</div>
+
+<h2 id="Atributs">Atributs</h2>
+
+<p>Aquest element no té altres atributs que els <a href="/en-US/docs/Web/HTML/global_attributes" title="HTML/global attributes">atributs globals</a>, comuns a tots els elements.</p>
+
+<h2 id="Interfície_DOM">Interfície DOM</h2>
+
+<p>Aquest element implementa la interfície {{domxref('HTMLElement')}}.</p>
+
+<div class="note">
+<p><strong>Nota d'implementació: </strong>fins Gecko 1.9.2 inclos, Firefox implementa la interfície {{domxref('HTMLSpanElement')}} per a aquest element.</p>
+</div>
+
+<h2 id="Exemple">Exemple</h2>
+
+<pre class="brush:html">&lt;p&gt;Enter the following at the telnet command prompt: &lt;code&gt;set localecho&lt;/code&gt;&lt;br /&gt;
+
+The telnet client should display: &lt;tt&gt;Local Echo is on&lt;/tt&gt;&lt;/p&gt;
+</pre>
+
+<h3 id="Resultat">Resultat</h3>
+
+<p>Enter the following at the telnet command prompt: <code>set localecho</code><br>
+ The telnet client should display: <code>Local Echo is on</code></p>
+
+<h2 id="Notes" name="Notes">Notes</h2>
+
+<ul>
+ <li>Una regla CSS es pot definir per al selector <code>tt</code> per anul·lar la font per defecte del navegador. Les preferències establertes per l'usuari poden tenir prioritat sobre la CSS especificada.</li>
+ <li>Encara que aquest element no està desaprovat en l'especificació HTML 4.01, evitar el seu ús en favor de les fulles d'estil.</li>
+</ul>
+
+<h2 id="See_also" name="See_also">Veure</h2>
+
+<ul>
+ <li>{{ HTMLElement("code") }}</li>
+ <li>Especificació HTML 4.01 : <a class="external" href="http://www.w3.org/TR/html4/present/graphics.html#h-15.2">Font Styles</a></li>
+</ul>
+
+<div>{{ HTMLRef }}</div>