diff options
Diffstat (limited to 'files/ca/web/html/element/dfn/index.html')
-rw-r--r-- | files/ca/web/html/element/dfn/index.html | 172 |
1 files changed, 0 insertions, 172 deletions
diff --git a/files/ca/web/html/element/dfn/index.html b/files/ca/web/html/element/dfn/index.html deleted file mode 100644 index 9d438349e9..0000000000 --- a/files/ca/web/html/element/dfn/index.html +++ /dev/null @@ -1,172 +0,0 @@ ---- -title: <dfn> -slug: Web/HTML/Element/dfn -tags: - - Element - - HTML - - HTML text-level semantics - - Reference - - Web -translation_of: Web/HTML/Element/dfn ---- -<h2 id="Sumari">Sumari</h2> - -<p>L'<em>Element HTML Definició</em> (<dfn>) representa la instància de definició d'un terme.</p> - -<div class="note"><strong>Notes d'ùs en HTML5:</strong> - -<ul> - <li>L'element <<code>dfn</code>> indica el terme definit; la definició del terme ve determinat per {{HTMLElement("p")}}, {{HTMLElement("section")}} o grup de llista de definicions circumdant (normalment un parell {{HTMLElement("dt")}}, {{HTMLElement("dd")}}).</li> - <li><span id="result_box" lang="ca"><span>El valor</span> <span>exacte del</span> <span>terme que</span> <span>es</span> <span>defineix és</span> <span>determinat</span> <span>per les</span> <span>regles següents:</span></span> - <ol> - <li>Si l'element <<code>dfn</code>> té un atribut <strong><code>title</code></strong>, llavors el terme és el valor d'aquest atribut.</li> - <li>Ara bé, si només conté un element {{HTMLElement("abbr")}} amb un atribut {{htmlattrxref("title", "abbr")}}, llavors el terme és el valor d'aquest atribut.</li> - <li>Altrament, el contingut del text de l'element <<code>dnf</code>> és el terme definit.</li> - </ol> - </li> -</ul> -</div> - -<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">Contingut dinàmic</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>, però cap element {{HTMLElement("dfn")}} ha de ser un descendent.</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 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> - -<p>En HTML5, l'atribut <code>title</code> té un significat especial, com es va assenyalar anteriorment.</p> - -<h2 id="Exemples">Exemples</h2> - -<p><span class="short_text" id="result_box" lang="ca"><span>Els</span> <span>següents</span> <span>exemples</span> <span>són</span> <span>vàlids</span> <span>en HTML5</span></span>.</p> - -<pre class="brush: html"><!-- Define "The Internet" --> -<p><dfn id="def-internet">The Internet</dfn> is a global system of interconnected networks that use the Internet Protocol Suite (TCP/IP) to serve billions of users worldwide.</p> -</pre> - -<p><span class="short_text" id="result_box" lang="ca"><span>A continució</span><span>, en el mateix</span> <span>document</span></span>:</p> - -<pre class="brush: html"><dl> - <!-- Define "World-Wide Web" and reference definition for "the Internet" --> - <dt> - <dfn> - <abbr title="World-Wide Web">WWW</abbr> - </dfn> - </dt> - <dd>The World-Wide Web (WWW) is a system of interlinked hypertext documents accessed on <a href="#def-internet">the Internet</a>.</dd> -</dl> -</pre> - -<h3 id="Resultat">Resultat</h3> - -<p>{{ EmbedLiveSample('Examples', '600', '150', '', 'Web/HTML/Element/dfn') }}</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-dfn-element', '<dfn>')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td> </td> - </tr> - <tr> - <td>{{SpecName('HTML5 W3C', 'text-level-semantics.html#the-dfn-element', '<dfn>')}}</td> - <td>{{Spec2('HTML5 W3C')}}</td> - <td> </td> - </tr> - <tr> - <td>{{SpecName('HTML4.01', 'struct/text.html#h-9.2.1', '<dfn>')}}</td> - <td>{{Spec2('HTML4.01')}}</td> - <td> </td> - </tr> - </tbody> -</table> - -<h2 id="Navegadors_compatibles">Navegadors compatibles</h2> - -<div>{{CompatibilityTable}}</div> - -<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.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 Mobile</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="Veure">Veure</h2> - -<ul> - <li><span id="result_box" lang="ca"><span>Elements</span> <span>relacionats</span>, <span>llistes</span> <span>de definicions</span></span>: {{HTMLElement("dl")}}, {{HTMLElement("dt")}}, {{HTMLElement("dd")}}</li> - <li>{{HTMLElement("abbr")}}</li> -</ul> - -<p>{{HTMLRef}}</p> |