diff options
Diffstat (limited to 'files/ca/orphaned/web/html/element/command/index.html')
-rw-r--r-- | files/ca/orphaned/web/html/element/command/index.html | 157 |
1 files changed, 0 insertions, 157 deletions
diff --git a/files/ca/orphaned/web/html/element/command/index.html b/files/ca/orphaned/web/html/element/command/index.html deleted file mode 100644 index bd49e982d2..0000000000 --- a/files/ca/orphaned/web/html/element/command/index.html +++ /dev/null @@ -1,157 +0,0 @@ ---- -title: <command> -slug: orphaned/Web/HTML/Element/command -tags: - - HTML - - HTML Element Reference - - HTML element - - HTML5 -translation_of: Web/HTML/Element/command -original_slug: Web/HTML/Element/command ---- -<div>{{obsolete_header()}}</div> - -<div class="note"> -<p><strong>Nota:</strong> L'element comand s'ha eliminat de {{Gecko("24.0")}} en favor de l'element {{HTMLElement("menuitem")}}. Firefox mai ha donat suport a aquest element comand, i s'ha abandonat la implementació de la interfície DOM {{domxref("HTMLCommandElement")}} existent a <a href="/en-US/docs/Site_Compatibility_for_Firefox_24">Firefox 24</a>.</p> -</div> - -<h2 id="Sumari">Sumari</h2> - -<p><span id="result_box" lang="ca"><span class="alt-edited">L'element <code>comand</code> representa un comando que l'usuari pot invocar.</span></span></p> - -<table class="properties"> - <tbody> - <tr> - <th scope="row"><a href="/en-US/docs/Web/HTML/Content_categories">Categories de contingut</a></th> - <td><a href="/en-US/docs/Web/HTML/Content_categories#Flow_content">contingut de flux</a>, <a href="/en-US/docs/Web/HTML/Content_categories#Phrasing_content">phrasing content</a>, contingut metadata.</td> - </tr> - <tr> - <th scope="row">Contingut permès</th> - <td>Cap, és un {{Glossary("empty element")}}.</td> - </tr> - <tr> - <th scope="row">Omissió de l'etiqueta</th> - <td>L'etiqueta d'inici és obligatori, però, com que és un element buit, l'ús d'una etiqueta final està prohibit.</td> - </tr> - <tr> - <th scope="row">Elements pares permesos</th> - <td>només {{HTMLElement("colgroup")}}, encara que implícitament pot ser definida com la seva etiqueta d'inici però no és obligatòria. La {{HTMLElement("colgroup")}} no ha de tenir un {{HTMLElement("span")}} com a fill.</td> - </tr> - <tr> - <th scope="row">Interfície DOM</th> - <td>{{domxref("HTMLCommandElement")}} {{ obsolete_inline(24) }}</td> - </tr> - </tbody> -</table> - -<h2 id="Atributs">Atributs</h2> - -<p>Aquest element inclou els <a href="/en-US/docs/Web/HTML/Global_attributes">atributs globals</a>.</p> - -<dl> - <dt>{{htmlattrdef("checked")}}</dt> - <dd>Indica si comand es seleccionat. S'ha d'ometre llevat que l'atribut <code>type</code> és <code>checkbox </code>o <code>radio</code>.</dd> - <dt>{{htmlattrdef("disabled")}}</dt> - <dd>Indica que comand no està disponible..</dd> - <dt>{{htmlattrdef("icon")}}</dt> - <dd>Dóna una imatge que representa el comand.</dd> - <dt>{{htmlattrdef("label")}}</dt> - <dd>El nom del command tal com es mostra a l'usuari.</dd> - <dt>{{htmlattrdef("radiogroup")}}</dt> - <dd>Aquest atribut dóna el nom del grup d'ordres, amb un <code>type</code> <code>radio</code>, que es commuta quan s'alterna el propi comandament. S'ha omès aquest atribut llevat que l'atribut <code>type</code> sigui <code>radio</code>.</dd> - <dt>{{htmlattrdef("type")}}</dt> - <dd>Aquest atribut indica el tipus de comandt. Això pot ser un dels tres valors. - <ul> - <li> - <p><code>command</code> o buit que és l'estat per defecte, i indica que es tracta d'un comand normal.</p> - </li> - <li> - <p><code>checkbox</code> indica que command s'alterna amb un checkbox.</p> - </li> - <li> - <p><code>radio</code> indica que command s'alterna amb un radiobutton.</p> - </li> - </ul> - </dd> -</dl> - -<h2 id="Exemples">Exemples</h2> - -<pre class="brush: html"><command type="command" label="Save" icon="icons/save.png" onclick="save()"> -</pre> - -<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', 'commands.html', '<command>')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td> </td> - </tr> - <tr> - <td>{{SpecName('HTML5 W3C', 'semantics.html#the-command-element', '<command>')}}</td> - <td>{{Spec2('HTML5 W3C')}}</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>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</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>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - </tr> - </tbody> -</table> -</div> - -<p>{{ HTMLRef }}</p> |