aboutsummaryrefslogtreecommitdiff
path: root/files/ca/web/html/element/figcaption/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ca/web/html/element/figcaption/index.html')
-rw-r--r--files/ca/web/html/element/figcaption/index.html126
1 files changed, 126 insertions, 0 deletions
diff --git a/files/ca/web/html/element/figcaption/index.html b/files/ca/web/html/element/figcaption/index.html
new file mode 100644
index 0000000000..f43e692154
--- /dev/null
+++ b/files/ca/web/html/element/figcaption/index.html
@@ -0,0 +1,126 @@
+---
+title: <figcaption>
+slug: Web/HTML/Element/figcaption
+tags:
+ - Element
+ - HTML
+ - HTML grouping content
+ - Reference
+translation_of: Web/HTML/Element/figcaption
+---
+<p>{{HTMLRef}}</p>
+
+<p>L'<strong>element HTML <code>&lt;figcaption&gt;</code></strong> representa una llegenda o una llegenda associada a una figura o una il·lustració descrit per la resta de les dades de l'element {{HTMLElement("figure")}} que és el seu ancestra immediat, el que significa que <code>&lt;figcaption&gt;</code> pot ser el primer o l'últim element dins d'un bloc {{HTMLElement("figure")}}. A més, l'<em>element HTML figcaption</em>  és opcional; si no es proporciona, l'element figure pare no tindrà cap llegenda.</p>
+
+<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>Cap.</td>
+ </tr>
+ <tr>
+ <th scope="row">Contingut permès</th>
+ <td><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">Omissió de l'etiqueta</th>
+ <td>{{no_tag_omission}}</td>
+ </tr>
+ <tr>
+ <th scope="row">Elements pares permesos</th>
+ <td>En un element {{HTMLElement("figure")}}; l'element <code>&lt;figcaption&gt;</code> <span id="result_box" lang="ca"><span>ha de ser el</span> <span>primer o</span> <span>l'últim</span> <span>fill.</span></span></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="Exemples">Exemples</h2>
+
+<p>Si us plau, veure el pàgina {{HTMLElement("figure")}} per exemples de <code>&lt;figcaption&gt;</code>.</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', 'grouping-content.html#the-figcaption-element', '&lt;figcaption&gt;')}}</td>
+ <td>{{Spec2('HTML WHATWG')}}</td>
+ <td> </td>
+ </tr>
+ <tr>
+ <td>{{SpecName('HTML5 W3C', 'grouping-content.html#the-figcaption-element', '&lt;figcaption&gt;')}}</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>8</td>
+ <td>{{CompatGeckoDesktop("2.0")}}</td>
+ <td>9.0</td>
+ <td>11.10</td>
+ <td>5.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>Suport bàsic</td>
+ <td>3.0</td>
+ <td>{{CompatGeckoMobile("2.0")}}</td>
+ <td>9.0</td>
+ <td>11.0</td>
+ <td>5.1 (iOS 5.0)</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<h2 id="Veure">Veure</h2>
+
+<ul>
+ <li>L'element {{HTMLElement("figure")}}.</li>
+</ul>