diff options
Diffstat (limited to 'files/ca/web/html/global_attributes/lang/index.html')
| -rw-r--r-- | files/ca/web/html/global_attributes/lang/index.html | 102 |
1 files changed, 0 insertions, 102 deletions
diff --git a/files/ca/web/html/global_attributes/lang/index.html b/files/ca/web/html/global_attributes/lang/index.html deleted file mode 100644 index 5817c27aca..0000000000 --- a/files/ca/web/html/global_attributes/lang/index.html +++ /dev/null @@ -1,102 +0,0 @@ ---- -title: lang -slug: Web/HTML/Global_attributes/lang -translation_of: Web/HTML/Global_attributes/lang ---- -<p class="note">{{HTMLSidebar("Global_attributes")}}</p> - -<p> L'<a href="/en-US/docs/Web/HTML/Global_attributes">atribut global</a> <strong>lang </strong>participa en la definició de la llengua de l'element,la llengua en que els elements no editables estan escrits o la llengua en que els elements editables han de ser escrit. L'etiqueta conté un valor d'entrada únic que correspon a una de les etiquetes del document IETF <a class="external" href="http://www.ietf.org/rfc/bcp/bcp47.txt" title="http://www.ietf.org/rfc/bcp/bcp47.txt"><em>Tags for Identifying Languages (BCP47)</em></a>. Si el contingut de l'etiqueta és uan <em>cadena buida </em>la llengua s'estableix com <em>a </em><em>desgoneguda</em> ; si el contingut de l'etiqueta no és valid, en referència al BCP47, s'estableix com a <em>invàlida</em>.</p> - -<p>Encara que l'atribut <strong>lang</strong> hagi sigut establert, pot no tenir-se e compte, ja que l'atribut <a href="/en-US/docs/Web/HTML/Global_attributes/xml:lang"><strong>xml:lang</strong></a> té prioritat. Llegiu <a href="/en-US/docs/Determining_the_language_of_element" title="en/Determining the language of element"> l'algoritme per determinar la llengua</a> d'un contingut d'un element per veure com la llengua es determina en tots els casos.</p> - -<p>Per la pseudo-classe de CSS {{ cssxref(":lang") }}, dos noms de llengües invàlides són diferents si els seus noms són diferents.</p> - -<h2 id="Especificacions">Especificacions</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Especificació</th> - <th scope="col">Estat</th> - <th scope="col">Comentaris</th> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG', "dom.html#the-lang-and-xml:lang-attributes", "lang")}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>No hi ha canvis de l'última instantània, {{SpecName('HTML5.1')}}</td> - </tr> - <tr> - <td>{{SpecName('HTML5.1', "dom.html#the-lang-and-xml:lang-attributes", "lang")}}</td> - <td>{{Spec2('HTML5.1')}}</td> - <td>Instantània de {{SpecName('HTML WHATWG')}}, no hi ha canvis de {{SpecName('HTML5 W3C')}}</td> - </tr> - <tr> - <td>{{SpecName('HTML5 W3C', "dom.html#the-lang-and-xml:lang-attributes", "lang")}}</td> - <td>{{Spec2('HTML5 W3C')}}</td> - <td>Instantània de {{SpecName('HTML WHATWG')}}, comprotament amb <strong>xml:lang</strong> i determinació de llenguatge algorísmic definit. També és un veritable atribut global.</td> - </tr> - <tr> - <td>{{SpecName('HTML4.01', 'struct/dirlang.html#h-8.1', 'lang')}}</td> - <td>{{Spec2('HTML4.01')}}</td> - <td>Supportat en tots elements menys en {{HTMLElement("applet")}}, {{HTMLElement("base")}}, {{HTMLElement("basefont")}}, {{HTMLElement("br")}}, {{HTMLElement("frame")}}, {{HTMLElement("frameset")}}, {{HTMLElement("iframe")}}, {{HTMLElement("param")}}, i {{HTMLElement("script")}}.</td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility">Browser compatibility</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>{{ CompatVersionUnknown }}</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>Chrome per 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>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - </tr> - </tbody> -</table> -</div> - -<h2 id="Vegeu_també">Vegeu també</h2> - -<ul> - <li>Tots els <a href="/en-US/docs/Web/HTML/Global_attributes">Atributs globals</a>.</li> -</ul> |
