diff options
Diffstat (limited to 'files/ca/web/html/global_attributes/title/index.html')
| -rw-r--r-- | files/ca/web/html/global_attributes/title/index.html | 139 |
1 files changed, 0 insertions, 139 deletions
diff --git a/files/ca/web/html/global_attributes/title/index.html b/files/ca/web/html/global_attributes/title/index.html deleted file mode 100644 index de5b97f8e2..0000000000 --- a/files/ca/web/html/global_attributes/title/index.html +++ /dev/null @@ -1,139 +0,0 @@ ---- -title: title -slug: Web/HTML/Global_attributes/title -tags: - - Global attributes - - HTML - - Reference -translation_of: Web/HTML/Global_attributes/title ---- -<p>{{HTMLSidebar("Global_attributes")}}</p> - -<p>L'<a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes">atribut global</a> <strong>title</strong> conté un text que representa informació d'assessorament en relació amb l'element al qual pertany. Aquesta informació pot generalment, però no necessàriament, presentar-se a l'usuari com una descripció. Aquests són alguns dels usos típics d'aquest atribut:</p> - -<ul> - <li>Vincle: <span class="short_text" id="result_box" lang="ca"><span>el títol</span> <span>o una descripció</span> <span>del document</span> <span>vinculat</span></span></li> - <li>Element Media com una imatge: <span class="short_text" id="result_box" lang="ca"><span>una descripció o</span> <span>crèdits</span> <span>associats</span></span></li> - <li><span class="short_text" id="result_box" lang="ca"><span>Paràgraf</span></span>: <span class="short_text" id="result_box" lang="ca"><span>una nota</span> <span>al peu o</span> <span>un comentari</span> <span>sobre ell</span></span></li> - <li>Cita: <span id="result_box" lang="ca"><span>alguna informació</span> <span>sobre l'autor,</span> <span>i</span> <span>així</span> <span>successivament</span></span>.</li> -</ul> - -<p>Si s'omet aquest atribut, vol dir que el títol de l'ancestre més proper d'aquest element segueix sent rellevant per a ell (i legítimament es pot utilitzar com la descripció d'aquest element). Si aquest atribut s'estableix en una <em>cadena buida</em>, significa explícitament que el títol del seu ancestre més proper no és rellevant per a aquest element (i no ha de ser utilitzat en la descripció d'aquest element).</p> - -<p>Semàntiques addicionals estan connectats als atributs del <strong>title</strong> dels elements {{ HTMLElement("link") }}, {{ HTMLElement("abbr") }}, {{ HTMLElement("input") }} i {{ HTMLElement("menuitem") }}.</p> - -<p>L'atribut <strong>title</strong> pot contenir diverses línies. Cada <code>U+LINE FEED (LF)</code> que s'insereix representa un salt de línia. Algunes precaucions han de ser preses encara que, lo que vol dir que:</p> - -<pre class="brush: html"><p>Newlines in title should be taken into account,like this <abbr title="This is a -multiline title">example</abbr>.</p> -</pre> - -<p><span class="short_text" id="result_box" lang="ca"><span>defineix un</span> <span>títol</span> <span>de dues</span> <span>línies.</span></span></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">Comentari</th> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG', "elements.html#the-title-attribute", "title")}}</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', "dom.html#the-title-attribute", "title")}}</td> - <td>{{Spec2('HTML5.1')}}</td> - <td>Instantània de {{SpecName('HTML WHATWG')}}, sense canvis des de {{SpecName('HTML5 W3C')}}</td> - </tr> - <tr> - <td>{{SpecName('HTML5 W3C', "dom.html#the-title-attribute", "title")}}</td> - <td>{{Spec2('HTML5 W3C')}}</td> - <td>Instantània de {{SpecName('HTML WHATWG')}}. Des de {{SpecName("HTML4.01")}}, <span class="short_text" id="result_box" lang="ca"><span>és un veritable</span> <span>atribut</span> <span>global</span></span></td> - </tr> - <tr> - <td>{{SpecName('HTML4.01', 'struct/global.html#adef-title', 'title')}}</td> - <td>{{Spec2('HTML4.01')}}</td> - <td>Suportat amb tots els elements però {{HTMLElement("base")}}, {{HTMLElement("basefont")}}, {{HTMLElement("head")}}, {{HTMLElement("html")}}, {{HTMLElement("meta")}}, {{HTMLElement("param")}}, {{HTMLElement("script")}} i {{HTMLElement("title")}}.</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>{{ CompatVersionUnknown }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - </tr> - <tr> - <td>Suport Multi-línia</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{CompatGeckoDesktop(12)}}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</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>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - </tr> - <tr> - <td>Suport Multi-línia</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile(12)}}</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> - <li>{{domxref("HTMLElement.title")}} <span class="short_text" id="result_box" lang="ca"><span>que reflecteix</span> <span>aquest</span> <span>atribut.</span></span></li> -</ul> |
