diff options
Diffstat (limited to 'files/ca/web/html/element/aside/index.html')
-rw-r--r-- | files/ca/web/html/element/aside/index.html | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/files/ca/web/html/element/aside/index.html b/files/ca/web/html/element/aside/index.html new file mode 100644 index 0000000000..c6d98154ca --- /dev/null +++ b/files/ca/web/html/element/aside/index.html @@ -0,0 +1,126 @@ +--- +title: <aside> +slug: Web/HTML/Element/aside +translation_of: Web/HTML/Element/aside +--- +<p>L'<em>element HTML <code><aside></code> </em>representa una secció de la pàgina amb contingut connectat tangenncialment amb la resta, el qual es podria considerar separat del contingut. Aquestes seccions sovint es representen com a barres laterals o insercions. Sovint contenen les definicions en les barres laterals, com ara definicions del glossari; també hi pot haver altres tipus d'informació, com ara anuncis relacionats; la biografia de l'autor; applicacions web; informació de perfil o enllaços relacionats en el bloc.</p> + +<div class="note"> +<p><em>Notes d'ús:</em></p> + +<ul> + <li>No s'ha de fer servir l'element <code><aside></code> per etiquetarr text en parèntesi, j<span id="result_box" lang="ca"><span class="hps">a</span> <span class="hps">que aquest tipus</span> <span class="hps">de text</span> <span class="hps">es</span> <span class="hps">considera part</span> <span class="hps">del corrent</span> <span class="hps">principal</span><span>.</span></span></li> +</ul> +</div> + +<ul class="htmlelt"> + <li><dfn><a href="/en-US/docs/HTML/Content_categories" title="HTML/Content_categories">Content Categories de contingut</a></dfn> <a href="/en-US/docs/HTML/Content_categories#Flow_content" title="HTML/Content categories#Flow content">Contingut de flux</a>, sectioning content, palpable content.</li> + <li><dfn>Contingut permès</dfn><a href="/en-US/docs/HTML/Content_categories#Flow_content" title="HTML/Content_categories#Flow_content">Contingut de flux</a>.</li> + <li><dfn>Omissió de l'etiqueta</dfn> {{no_tag_omission}}</li> + <li><dfn>Elements pares permesos</dfn> Qualsevol element que accepti <a href="/en-US/docs/HTML/Content_categories#Flow_content" title="HTML/Content_categories#Flow_content">contingut de flux</a>. Tingueu en compte que un element <code><aside></code> no ha de ser descendent d'un element {{HTMLElement("address")}}.</li> + <li><dfn>Interfície DOM</dfn> {{domxref("HTMLElement")}}</li> +</ul> + +<h2 id="Atributs">Atributs</h2> + +<p><span style="line-height: 21px;">Aquest element només inclou els </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="Exemples">Exemples</h2> + +<pre class="brush: html"><article> + <p> + The Disney movie <em>The Little Mermaid</em> was + first released to theatres in 1989. + </p> + <aside> + The movie earned $87 million during its initial release. + </aside> + <p> + More info about the movie... + </p> +</article></pre> + +<p>{{EmbedLiveSample("Examples")}}</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">Comentaris</th> + </tr> + </thead> + <tbody> + <tr> + <td>{{SpecName('HTML WHATWG', 'sections.html#the-aside-element', '<aside>')}}</td> + <td>{{Spec2('HTML WHATWG')}}</td> + <td> </td> + </tr> + <tr> + <td>{{SpecName('HTML5 W3C', 'sections.html#the-aside-element', '<aside>')}}</td> + <td>{{Spec2('HTML5 W3C')}}</td> + <td> </td> + </tr> + </tbody> +</table> + +<h2 id="Compatibilitat_amb_navegadors">Compatibilitat amb navegadors</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>Basic support</td> + <td>5</td> + <td>{{CompatGeckoDesktop("2.0")}}</td> + <td>9.0</td> + <td>11.10</td> + <td>4.1</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>Basic support</td> + <td>2.2</td> + <td>{{CompatGeckoMobile("2.0")}}</td> + <td>9.0</td> + <td>11.0</td> + <td>5.0 (iOS 4.2)</td> + </tr> + </tbody> +</table> +</div> + +<h2 id="Vegeu_també">Vegeu també</h2> + +<ul> + <li>Altres elements relacionats: {{HTMLElement("body")}}, {{HTMLElement("article")}}, {{HTMLElement("section")}}, {{HTMLElement("nav")}}, {{HTMLElement("h1")}}, {{HTMLElement("h2")}}, {{HTMLElement("h3")}}, {{HTMLElement("h4")}}, {{HTMLElement("h5")}}, {{HTMLElement("h6")}}, {{HTMLElement("hgroup")}}, {{HTMLElement("header")}}, {{HTMLElement("footer")}}, {{HTMLElement("address")}};</li> + <li><a href="/en-US/docs/Sections_and_Outlines_of_an_HTML5_document" title="Sections and Outlines of an HTML5 document">Seccions i contorns d'un document HTML5</a>.</li> +</ul> + +<div>{{HTMLRef}}</div> |