diff options
Diffstat (limited to 'files/ca/web/html/element/code/index.html')
| -rw-r--r-- | files/ca/web/html/element/code/index.html | 143 |
1 files changed, 0 insertions, 143 deletions
diff --git a/files/ca/web/html/element/code/index.html b/files/ca/web/html/element/code/index.html deleted file mode 100644 index 89c903851b..0000000000 --- a/files/ca/web/html/element/code/index.html +++ /dev/null @@ -1,143 +0,0 @@ ---- -title: <code> -slug: Web/HTML/Element/code -tags: - - Element - - HTML - - Referencia - - Web -translation_of: Web/HTML/Element/code ---- -<p id="Summary">L'<em>Element de Codi HTML</em> (<strong><code></strong>) representa un fragment de codi informàtic. Per defecte, es visualitza en els navegador en el tipus de lletra per defecte d'espai sencill.</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">Flow content</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) <span id="result_box" lang="ca"> <span>inclosos,</span> <span>Firefox</span> <span>implementa</span> <span>la interfície</span></span> {{domxref("HTMLSpanElement")}} <span id="result_box" lang="ca"><span>per a aquest</span> <span>element.</span></span></td> - </tr> - </tbody> -</table> - -<h2 id="Atributs">Atributs</h2> - -<p>Aquest element només inclou els<span style="line-height: 21px;"> </span><a href="https://developer.mozilla.org/en-US/docs/HTML/Global_attributes" style="line-height: 21px;" title="HTML/Global attributes">atributs global</a><span style="line-height: 21px;">.</span></p> - -<h2 id="Exemple">Exemple</h2> - -<pre class="brush: html"><p>Regular text. <code>This is code.</code> Regular text.</p> -</pre> - -<h3 id="Result" name="Result">Resultat</h3> - -<p>Regular text. <code>This is code.</code> Regular text.</p> - -<h2 id="Nota">Nota</h2> - -<p>Es pot definir una regla CSS perquè el selector <code>code</code> reemplaci el tipus de font per defecte del navegador. Les preferències establertes per l'usuari poden tenir prioritat sobre la CSS especificat.</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-code-element', '<code>')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td> </td> - </tr> - <tr> - <td>{{SpecName('HTML5 W3C', 'text-level-semantics.html#the-code-element', '<code>')}}</td> - <td>{{Spec2('HTML5 W3C')}}</td> - <td> </td> - </tr> - <tr> - <td>{{SpecName('HTML4.01', 'struct/text.html#h-9.2.1', '<code>')}}</td> - <td>{{Spec2('HTML4.01')}}</td> - <td> </td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility" name="Browser_compatibility">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 (WebKit)</th> - </tr> - <tr> - <td>Suport bàsic</td> - <td>1.0</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 Phone</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="See_also" name="See_also">Veure</h2> - -<ul> - <li>{{HTMLElement("samp")}}</li> - <li>{{HTMLElement("kbd")}}</li> - <li>{{HTMLElement("command")}} (en desús)</li> - <li>{{HTMLElement("var")}}</li> -</ul> - -<div>{{HTMLRef}}</div> |
