diff options
Diffstat (limited to 'files/ca/web/html/element/s/index.html')
| -rw-r--r-- | files/ca/web/html/element/s/index.html | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/files/ca/web/html/element/s/index.html b/files/ca/web/html/element/s/index.html deleted file mode 100644 index 4d11be3c1b..0000000000 --- a/files/ca/web/html/element/s/index.html +++ /dev/null @@ -1,71 +0,0 @@ ---- -title: <s> -slug: Web/HTML/Element/s -tags: - - Element - - HTML - - HTML text-level semantics - - NeedsNewBrowserCompatTable - - Reference - - Web - - text-decoration -translation_of: Web/HTML/Element/s ---- -<h2 id="Sumari">Sumari</h2> - -<p>L'<em>Element HTML ratllat</em> (<code><s></code>) processa el text amb un ratllat, o una línia a través d'ell. Utilitzeu l'element <code><s></code> per representar coses que ja no són pertinents o no són exactes. No obstant això, <code><s></code> no és adequat per indicar edicions de documents; per això, utilitzar els elements {{ HTMLElement("del") }} i {{ HTMLElement("ins") }}, segons el cas.</p> - -<table class="properties"> - <tbody> - <tr> - <th scope="row"><a href="/en-US/docs/HTML/Content_categories" title="HTML/Content_categories">Categories de categories</a></th> - <td><a href="/en-US/docs/HTML/Content_categories#Phrasing_content" title="HTML/Content categories#Phrasing content">Phrasing content</a> o <a href="/en-US/docs/HTML/Content_categories#Flow_content" title="HTML/Content categories#Flow content">Contingut dinàmic</a>.</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")}}</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 globals</a><span style="line-height: 21px;">.</span></p> - -<h2 id="Interfície_DOM">Interfície DOM</h2> - -<p>Aquest element implementa la interfície <code><a href="/en-US/docs/DOM/element" title="DOM/element">HTMLElement</a></code>.</p> - -<div class="note"><strong><span id="result_box" lang="ca"><span>Nota</span> <span>d'implementació</span></span>: </strong> <span id="result_box" lang="ca"><span>Fins</span> <span>Gecko</span> <span>1.9.2</span> <span>inclos,</span> <span>Firefox</span> <span>implementa</span> <span>la interfície</span> <span>HTMLSpanElement</span> <span>per a aquest</span> <span>element</span></span></div> - -<h2 id="Exemple">Exemple</h2> - -<pre class="brush:xml"><s>Today's Special: Salmon</s> SOLD OUT<br> -<span style="text-decoration:line-through;">Today's Special: Salmon</span> SOLD OUT</pre> - -<h3 id="Resultat">Resultat</h3> - -<p><s>Today's Special: Salmon</s> SOLD OUT<br> - <s style="text-decoration: line-through;">Today's Special: Salmon</s> SOLD OUT</p> - -<h2 id="Veure">Veure</h2> - -<ul> - <li>L'element {{ HTMLElement("strike") }}, alter ego de l'element {{ HTMLElement("s") }} és obsolet i no s'ha d'utilitzar en els llocs web.</li> - <li>L'element {{ HTMLElement("del") }} s'utilitzarà en el seu lloc si les dades s'han <em>eliminat (deleted)</em>.</li> - <li>La propietat CSS {{ cssxref("text-decoration") }}-line-through es va utilitzar per aconseguir el primer aspecte visual de l'element {{HTMLElement ("s")}}.</li> -</ul> - -<div>{{ HTMLRef }}</div> |
