aboutsummaryrefslogtreecommitdiff
path: root/files/pt-br/web/html/element/header/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/pt-br/web/html/element/header/index.html')
-rw-r--r--files/pt-br/web/html/element/header/index.html119
1 files changed, 119 insertions, 0 deletions
diff --git a/files/pt-br/web/html/element/header/index.html b/files/pt-br/web/html/element/header/index.html
new file mode 100644
index 0000000000..e7d0801389
--- /dev/null
+++ b/files/pt-br/web/html/element/header/index.html
@@ -0,0 +1,119 @@
+---
+title: header (cabeçalho)
+slug: Web/HTML/Element/header
+translation_of: Web/HTML/Element/header
+---
+<h2 id="Sumário">Sumário</h2>
+
+<p>O <strong>elemento HTML</strong> <strong><code>&lt;header&gt;</code> </strong>representa um grupo de suporte introdutório ou navegacional. Pode conter alguns elementos de cabeçalho mas também outros elementos como um logo, seções de cabeçalho, formulário de pesquisa, e outros.</p>
+
+<div class="note">
+<p><strong>Notas de utilização:</strong></p>
+
+<ul>
+ <li>O elemento <code>&lt;header&gt;</code> não é separador de conteúdo (sectioning content), portanto, não introduz uma nova seção no <a href="/en-US/docs/Sections_and_Outlines_of_an_HTML5_document" title="Sections and Outlines of an HTML5 document">outline</a>.</li>
+</ul>
+</div>
+
+<ul class="htmlelt">
+ <li><dfn><a href="/en-US/docs/HTML/Content_categories" title="HTML/Content_categories">Categoria de conteúdo</a></dfn> <a href="/en-US/docs/HTML/Content_categories#Flow_content" title="HTML/Content categories#Flow content">Flow content</a>, conteúdo palpável.</li>
+ <li><dfn>Conteúdo permitido</dfn><a href="/en-US/docs/HTML/Content_categories#Flow_content" title="HTML/Content categories#Flow content">Flow content</a>, mas não com descendentes de {{HTMLElement("header")}} ou {{HTMLElement("footer")}} </li>
+ <li><dfn>Omissão da tag</dfn>Nenhuma, as tags de abertura e fechamento são obrigatórias.</li>
+ <li><dfn>Elementos-pai permitidos</dfn>Qualquer elemento que aceite <a href="/en-US/docs/HTML/Content_categories#Flow_content" title="HTML/Content categories#Flow content">flow content</a>. Note que o elemento {{HTMLElement("header")}} não deve ser descendente de  {{HTMLElement("address")}}, {{HTMLElement("footer")}} ou outro elemento {{HTMLElement("header")}} .</li>
+ <li><dfn>Interface DOM</dfn> {{domxref("HTMLElement")}}</li>
+</ul>
+
+<h2 id="Atributos">Atributos</h2>
+
+<p><span style="line-height: 21px;">Este elemento não possue outros atributos além dos </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;">, comuns a todos os elementos.</span></p>
+
+<h2 id="Exemplos">Exemplos</h2>
+
+<pre><code>&lt;header&gt;
+ &lt;h1&gt;Título da Página Principal&lt;/h1&gt;
+ &lt;img src="mdn-logo-sm.png" alt="MDN logo"&gt;
+&lt;/header&gt;</code></pre>
+
+<h2 id="Specifications" name="Specifications">Especificações</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Especificação</th>
+ <th scope="col">Status</th>
+ <th scope="col">Comentário</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('HTML WHATWG', 'sections.html#the-header-element', '&lt;header&gt;')}}</td>
+ <td>{{Spec2('HTML WHATWG')}}</td>
+ <td> </td>
+ </tr>
+ <tr>
+ <td>{{SpecName('HTML5 W3C', 'sections.html#the-header-element', '&lt;header&gt;')}}</td>
+ <td>{{Spec2('HTML5 W3C')}}</td>
+ <td> </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>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="Veja_também">Veja também</h2>
+
+<ul>
+ <li>Uma descrição mais detalhada: <a class="external" href="http://html5doctor.com/the-header-element/" title="The header element | HTML5 Doctor">O elemento header | HTML5 Doctor</a></li>
+ <li>Outros elementos relacionados a seção: {{HTMLElement("body")}}, {{HTMLElement("nav")}}, {{HTMLElement("article")}}, {{HTMLElement("aside")}}, {{HTMLElement("h1")}}, {{HTMLElement("h2")}}, {{HTMLElement("h3")}}, {{HTMLElement("h4")}}, {{HTMLElement("h5")}}, {{HTMLElement("h6")}}, {{HTMLElement("hgroup")}}, {{HTMLElement("footer")}}, {{HTMLElement("section")}}, {{HTMLElement("address")}};</li>
+ <li class="last"><a class="deki-ns current" href="/en-US/docs/Sections_and_Outlines_of_an_HTML5_document" title="Sections and Outlines of an HTML5 document">Seções e outlines de um documento HTML5</a>.</li>
+</ul>
+
+<div>{{HTMLRef}}</div>