aboutsummaryrefslogtreecommitdiff
path: root/files/ca/web/html/element/kbd/index.html
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/kbd/index.html
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/kbd/index.html')
-rw-r--r--files/ca/web/html/element/kbd/index.html150
1 files changed, 150 insertions, 0 deletions
diff --git a/files/ca/web/html/element/kbd/index.html b/files/ca/web/html/element/kbd/index.html
new file mode 100644
index 0000000000..19277878bc
--- /dev/null
+++ b/files/ca/web/html/element/kbd/index.html
@@ -0,0 +1,150 @@
+---
+title: <kbd>
+slug: Web/HTML/Element/kbd
+tags:
+ - Element
+ - HTML
+ - HTML text-level semantics
+ - Reference
+ - Web
+translation_of: Web/HTML/Element/kbd
+---
+<h2 id="Sumari">Sumari</h2>
+
+<p>L'<em>element d'entrada de teclat HTML</em> (<strong>&lt;kbd&gt;</strong>) , representa l'entrada de l'usuari i produeix un element en línia que apareix per defecte com a font d'espai senzill (monspace) en el navegador.</p>
+
+<table class="properties">
+ <tbody>
+ <tr>
+ <th scope="row"><a href="/en-US/docs/HTML/Content_categories" title="HTML/Content_categories">Categories de contingut</a></th>
+ <td><a href="/en-US/docs/HTML/Content_categories#Flow_content" title="HTML/Content categories#Flow content">Contingut dinàmic</a>, <a href="/en-US/docs/HTML/Content_categories#Phrasing_content" title="HTML/Content categories#Phrasing content">phrasing content</a>, contingut palpable.</td>
+ </tr>
+ <tr>
+ <th scope="row">Contingut permès</th>
+ <td><a href="/en-US/docs/HTML/Content_categories#Phrasing_content" title="HTML/Content_categories#Phrasing_content">Phrasing content</a>.</td>
+ </tr>
+ <tr>
+ <th scope="row">Omissió de l'etiqueta</th>
+ <td>{{no_tag_omission}}</td>
+ </tr>
+ <tr>
+ <th scope="row">Elements pares permesos</th>
+ <td>Qualsevol element que accepti <a href="/en-US/docs/HTML/Content_categories#Phrasing_content" title="HTML/Content_categories#Phrasing_content">phrasing content</a>.</td>
+ </tr>
+ <tr>
+ <th scope="row">Interfície DOM</th>
+ <td>{{domxref("HTMLElement")}} Fins Gecko 1.9.2 (Firefox 4) inclos, Firefox implementa la interfície {{domxref("HTMLSpanElement")}} per aquest element.</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Atributs">Atributs</h2>
+
+<p>Aquest element només inclou els <a href="/en-US/docs/HTML/Global_attributes" title="HTML/Global attributes">atributs globals</a>.</p>
+
+<h2 id="Exemples">Exemples</h2>
+
+<pre class="brush: html">&lt;p&gt;Type the following in the Run dialog: &lt;kbd&gt;cmd&lt;/kbd&gt;&lt;br /&gt;Then click the OK button.&lt;/p&gt;
+
+&lt;p&gt;Save the document by pressing &lt;kbd&gt;Ctrl&lt;/kbd&gt; + &lt;kbd&gt;S&lt;/kbd&gt;&lt;/p&gt;</pre>
+
+<h3 id="Resultat">Resultat</h3>
+
+<p>{{ EmbedLiveSample('Examples', 350, 120) }}</p>
+
+<h2 id="Nota">Nota</h2>
+
+<p>Es pot definir una regla CSS perquè el selector de <code>kbd</code> reemplaci la cara de font predeterminada del navegador. Les preferències establertes per l'usuari poden tenir prioritat sobre el CSS especificat.</p>
+
+<p>Quan l'element <code>&lt;kbd&gt;</code> està niat dins d'un element <code>&lt;samp&gt;</code>, representa l'entrada tal com va ser repetida pel sistema.</p>
+
+<p>Quan l'element <code>&lt;kbd&gt;</code> <em>conté</em> un element <code>&lt;samp&gt;</code>, representa una entrada basada en la sortida del sistema, per exemple, la invocació d'un element de menú.</p>
+
+<p>Quan l'element <code>&lt;kbd&gt;</code> està niat dins d'un altre element <code>&lt;kbd&gt;</code>, representa una clau real o una altra unitat única d'entrada segons sigui apropiat per al mecanisme d'entrada.</p>
+
+<h2 id="Specifications" name="Specifications">Especificacions</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Especificació</th>
+ <th scope="col">Estat</th>
+ <th scope="col">Comentari</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('HTML WHATWG', 'text-level-semantics.html#the-kbd-element', '&lt;kbd&gt;')}}</td>
+ <td>{{Spec2('HTML WHATWG')}}</td>
+ <td> </td>
+ </tr>
+ <tr>
+ <td>{{SpecName('HTML5 W3C', 'text-level-semantics.html#the-kbd-element', '&lt;kbd&gt;')}}</td>
+ <td>{{Spec2('HTML5 W3C')}}</td>
+ <td><span id="result_box" lang="ca"><span>Expandit</span> <span>per</span> <span>incloure qualsevol</span> <span>entrada de l'usuari</span><span>, igual</span> <span>que l'entrada</span> <span>de veu</span> <span>i</span> <span>pulsacions de</span> <span>tecles</span> <span>individuals.</span></span></td>
+ </tr>
+ <tr>
+ <td>{{SpecName('HTML4.01', 'struct/text.html#h-9.2.1', '&lt;kbd&gt;')}}</td>
+ <td>{{Spec2('HTML4.01')}}</td>
+ <td> </td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Navegadors_compatibles">Navegadors compatibles</h2>
+
+<p>{{CompatibilityTable}}</p>
+
+<div id="compat-desktop">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Característica</th>
+ <th>Chrome</th>
+ <th>Firefox (Gecko)</th>
+ <th>Internet Explorer</th>
+ <th>Opera</th>
+ <th>Safari</th>
+ </tr>
+ <tr>
+ <td>Suport bàsic</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatGeckoDesktop("1.0")}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<div id="compat-mobile">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Característica</th>
+ <th>Android</th>
+ <th>Firefox Mobile (Gecko)</th>
+ <th>IE Mobile</th>
+ <th>Opera Mobile</th>
+ <th>Safari Mobile</th>
+ </tr>
+ <tr>
+ <td>Suport bàsic</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatGeckoMobile("1.0")}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<h2 id="Veure">Veure</h2>
+
+<ul>
+ <li>{{htmlelement("code")}}</li>
+</ul>
+
+<div>{{HTMLRef}}</div>