diff options
Diffstat (limited to 'files/pt-br/web/html/element/legend/index.html')
-rw-r--r-- | files/pt-br/web/html/element/legend/index.html | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/files/pt-br/web/html/element/legend/index.html b/files/pt-br/web/html/element/legend/index.html new file mode 100644 index 0000000000..42875d288d --- /dev/null +++ b/files/pt-br/web/html/element/legend/index.html @@ -0,0 +1,126 @@ +--- +title: <legend> +slug: Web/HTML/Element/legend +tags: + - Element + - Elemento + - Forms + - HTML + - Web + - campos + - conjunto de campos + - formulários + - rótulo +translation_of: Web/HTML/Element/legend +--- +<h2 id="Resumo">Resumo</h2> + +<p>O <strong>Elemento HTML <span style="font-family: Courier New;"><legend></span> </strong>(ou <em>Elemento </em><em>HTML Campo "Legend"</em>) representa um rótulo para o conteúdo do seu ancestral {{HTMLElement("fieldset")}}.</p> + +<ul class="htmlelt"> + <li><dfn><a href="/en-US/docs/HTML/Content_categories" title="HTML/Content_categories">Categorias de Conteúdo</a></dfn> Nenhuma.</li> + <li><dfn>Conteúdo permitido</dfn> <a href="/en-US/docs/HTML/Content_categories#Phrasing_content" title="HTML/Content_categories#Phrasing_content">Conteúdo Textual</a>.</li> + <li><dfn>Omissão de Tag</dfn> {{no_tag_omission}}</li> + <li><dfn>Elementos ancestrais permitidos</dfn> Um {{HTMLElement("fieldset")}} cujo primeiro filho seja esse elemento <span style="font-family: Courier New;"><legend></span></li> + <li><dfn>Interface DOM</dfn> {{domxref("HTMLLegendElement")}}</li> +</ul> + +<h2 id="Atributos">Atributos</h2> + +<p><span style="line-height: 21px;">Esse elemento apenas inclui os </span><a href="https://developer.mozilla.org/en-US/docs/HTML/Global_attributes" style="line-height: 21px;" title="HTML/Global attributes">atributos globais</a><span style="line-height: 21px;">.</span></p> + +<h2 id="Exemplos">Exemplos</h2> + +<p>Veja {{HTMLElement("form")}} para exemplos sobre <code><legend></code>.</p> + +<h2 id="Specifications" name="Specifications">Especificação</h2> + +<table class="standard-table"> + <thead> + <tr> + <th scope="col">Specification</th> + <th scope="col">Status</th> + <th scope="col">Comment</th> + </tr> + </thead> + <tbody> + <tr> + <td>{{SpecName('HTML WHATWG', 'forms.html#the-legend-element', '<legend>')}}</td> + <td>{{Spec2('HTML WHATWG')}}</td> + <td>Definição do elemento <strong>legend</strong></td> + </tr> + <tr> + <td>{{SpecName('HTML WHATWG', 'rendering.html#the-fieldset-and-legend-elements')}}</td> + <td>{{Spec2('HTML WHATWG')}}</td> + <td>Sugestão da exibição pradrão dos elementos <code>fieldset</code> e <code>legend</code></td> + </tr> + <tr> + <td>{{SpecName('HTML5 W3C', 'forms.html#the-legend-element', '<legend>')}}</td> + <td>{{Spec2('HTML5 W3C')}}</td> + <td> </td> + </tr> + <tr> + <td>{{SpecName('HTML4.01', 'forms.html#h-17.10', '<legend>')}}</td> + <td>{{Spec2('HTML4.01')}}</td> + <td><a href="http://www.w3.org/TR/html401/interact/forms.html#h-17.10" title="http://www.w3.org/TR/html401/interact/forms.html#h-17.10">(link)</a></td> + </tr> + </tbody> +</table> + +<h2 id="Compatibilidade_de_Navegadores">Compatibilidade de Navegadores</h2> + +<p>{{CompatibilityTable}}</p> + +<div id="compat-desktop"> +<table class="compat-table"> + <tbody> + <tr> + <th>Recurso</th> + <th>Chrome</th> + <th>Firefox (Gecko)</th> + <th>Internet Explorer</th> + <th>Opera</th> + <th>Safari</th> + </tr> + <tr> + <td>Suporte básico</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>Recurso</th> + <th>Android</th> + <th>Firefox Mobile (Gecko)</th> + <th>IE Mobile</th> + <th>Opera Mobile</th> + <th>Safari Mobile</th> + </tr> + <tr> + <td>Suporte básico</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{CompatGeckoMobile("1.0")}}</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{CompatVersionUnknown}}</td> + </tr> + </tbody> +</table> +</div> + +<h2 id="Veja_Também">Veja Também</h2> + +<ul> + <li>Outros elementos relacionados a formulários: {{HTMLElement("form")}}, {{HTMLElement("option")}}, {{HTMLElement("label")}}, {{HTMLElement("button")}}, {{HTMLElement("select")}}, {{HTMLElement("datalist")}}, {{HTMLElement("optgroup")}}, {{HTMLElement("fieldset")}}, {{HTMLElement("textarea")}}, {{HTMLElement("keygen")}}, {{HTMLElement("input")}}, {{HTMLElement("output")}}, {{HTMLElement("progress")}} and {{HTMLElement("meter")}}.</li> +</ul> + +<p>{{HTMLRef}}</p> |