diff options
Diffstat (limited to 'files/ca/web/html/global_attributes/spellcheck/index.html')
| -rw-r--r-- | files/ca/web/html/global_attributes/spellcheck/index.html | 215 |
1 files changed, 0 insertions, 215 deletions
diff --git a/files/ca/web/html/global_attributes/spellcheck/index.html b/files/ca/web/html/global_attributes/spellcheck/index.html deleted file mode 100644 index 6a9d94f1fc..0000000000 --- a/files/ca/web/html/global_attributes/spellcheck/index.html +++ /dev/null @@ -1,215 +0,0 @@ ---- -title: spellcheck -slug: Web/HTML/Global_attributes/spellcheck -tags: - - Experimental - - Global attributes - - HTML - - Reference -translation_of: Web/HTML/Global_attributes/spellcheck ---- -<p class="note">{{HTMLSidebar("Global_attributes")}}{{SeeCompatTable}}</p> - -<p>L'atribut global spellcheck és un atribut enumerat defineix si en l'element es poden comprovar els errors d'ortografia. Pot tenir els següents valors:</p> - -<ul> - <li><code>true</code>, indica que l'element, si és possible, se li ha de comprovar els errors d'ortografia;</li> - <li><code>false</code>, indica que l'element, si és possible, no se li ha de comprovar els errors d'ortografia.</li> -</ul> - -<p>Si aquest atribut no està establert, el valor predeterminat és de tipus d'element i definit pel navegador. Aquest valor per defecte també pot <em>heretar</em>, la qual cosa vol dir que el contingut de l'element es revisa l'ortografia només si el seu ancestre més proper té un estat <code>true</code> per la correcció ortogràfica.<br> - <br> - Podeu consultar <a href="/en/HTML/Controlling_spell_checking_in_HTML_forms" title="en/Controlling spell checking in HTML forms">aquest article</a> per veure un exemple complet de l'ús d'aquest atribut.</p> - -<p>Aquest atribut és un enumerat i no un booleà. Això vol dir que l'ús explícit d'un dels valors <code>true</code> o <code>false</code> és obligatori i que una forma abreujada com <code><label spellcheck></code>Exemple <code>Label</ label></code> no està permès. L'ús correcte és <code><label spellcheck="true"></code>Exemple <code>Label</label></code>.</p> - -<p>Aquest atribut és simplement un suggeriment per al navegador: els navegadors no són necessaris per a poder comprovar els errors d'ortografia. Generalment, els elements no editables no es comproven els errors d'ortografia, tot i que l'atribut <strong>spellcheck</strong> s'estableixi en <code>true</code> i el navegador sigui compatible amb la correcció ortogràfica.</p> - -<p>El <em>valor per defecte</em> d'aquest atribut depèn del navegador i l'element:</p> - -<table class="fullwidth-table"> - <tbody> - <tr> - <th>Browser</th> - <th>{{ HTMLElement("html") }}</th> - <th>{{ HTMLElement("textarea") }}</th> - <th>{{ HTMLElement("input") }}</th> - <th>others</th> - <th>Comment</th> - </tr> - <tr> - <td rowspan="3">Firefox</td> - <td><code>false</code></td> - <td><code>false</code></td> - <td><code>false</code></td> - <td><em>inherited</em></td> - <td>When <code>layout.spellcheckDefault</code> is <code>0</code></td> - </tr> - <tr> - <td><strong><code>false</code></strong></td> - <td><strong><code>true</code></strong></td> - <td><strong><em>inherited</em></strong></td> - <td><strong><em>inherited</em></strong></td> - <td><strong>When <code>layout.spellcheckDefault</code> is <code>1</code> (default value)</strong></td> - </tr> - <tr> - <td><code>false</code></td> - <td><code>true</code></td> - <td><code>true</code></td> - <td><em>inherited</em></td> - <td>When <code>layout.spellcheckDefault</code> is <code>2</code></td> - </tr> - <tr> - <td rowspan="3">Seamonkey</td> - <td><code>false</code></td> - <td><code>false</code></td> - <td><code>false</code></td> - <td><em>inherited</em></td> - <td>When <code>layout.spellcheckDefault</code> is <span style="font-family: Courier New;"><code>0</code></span></td> - </tr> - <tr> - <td><strong><code>false</code></strong></td> - <td><strong><code>true</code></strong></td> - <td><strong><em>inherited</em></strong></td> - <td><strong><em>inherited</em></strong></td> - <td><strong>When <code>layout.spellcheckDefault</code> is <span style="font-family: Courier New;">1</span> (default value)</strong></td> - </tr> - <tr> - <td><code>false</code></td> - <td><code>true</code></td> - <td><code>true</code></td> - <td><em>inherited</em></td> - <td>When <code>layout.spellcheckDefault</code> is <span style="font-family: Courier New;"><code>2</code></span></td> - </tr> - <tr> - <td rowspan="3">Camino</td> - <td><code>false</code></td> - <td><code>false</code></td> - <td><code>false</code></td> - <td><em>inherited</em></td> - <td>When <code>layout.spellcheckDefault</code> is <span style="font-family: Courier New;"><code>0</code></span></td> - </tr> - <tr> - <td><code>false</code></td> - <td><code>true</code></td> - <td><em>inherited</em></td> - <td><em>inherited</em></td> - <td>When <code>layout.spellcheckDefault</code> is <span style="font-family: Courier New;"><code>1</code></span></td> - </tr> - <tr> - <td><strong><code>false</code></strong></td> - <td><strong><code>true</code></strong></td> - <td><strong><code>true</code></strong></td> - <td><strong><em>inherited</em></strong></td> - <td><strong>When <span style="font-family: Courier New;">layout.spellcheckDefault</span> is <span style="font-family: Courier New;"><code>2</code> </span><strong>(default value)</strong></strong></td> - </tr> - <tr> - <td>Chrome</td> - <td><code>false</code></td> - <td><code>true</code></td> - <td>?</td> - <td><em>inherited</em></td> - </tr> - <tr> - <td>Internet Explorer</td> - <td><code>false</code></td> - <td><code>true</code></td> - <td>?</td> - <td><em>inherited</em></td> - </tr> - <tr> - <td>Opera</td> - <td><code>false</code></td> - <td><code>true</code></td> - <td>?</td> - <td><em>inherited</em></td> - </tr> - <tr> - <td>Safari</td> - <td><code>false</code></td> - <td><code>true</code></td> - <td>?</td> - <td><em>inherited</em></td> - </tr> - </tbody> -</table> - -<h2 id="Especificacions">Especificacions</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Especificació</th> - <th scope="col">Estat</th> - <th scope="col">Comentari</th> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG', "interaction.html#spelling-and-grammar-checking", "spellcheck")}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>Sense canvis des de l'última instantània, {{SpecName('HTML5.1')}}</td> - </tr> - <tr> - <td>{{SpecName('HTML5.1', "editing.html#spelling-and-grammar-checking", "spellcheck")}}</td> - <td>{{Spec2('HTML5.1')}}</td> - <td>Instantània de {{SpecName('HTML WHATWG')}}, definició inicial.</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.8.1") }}</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 for 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>{{ CompatNo() }}</td> - <td>{{ CompatUnknown}}</td> - <td>{{ CompatGeckoMobile("1.8.1") }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - </tbody> -</table> -</div> - -<h2 id="Veure">Veure</h2> - -<ul> - <li>Tots els <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes">atributs globals</a>.</li> -</ul> |
