aboutsummaryrefslogtreecommitdiff
path: root/files/pt-pt/web/html/element/head/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/pt-pt/web/html/element/head/index.html')
-rw-r--r--files/pt-pt/web/html/element/head/index.html108
1 files changed, 108 insertions, 0 deletions
diff --git a/files/pt-pt/web/html/element/head/index.html b/files/pt-pt/web/html/element/head/index.html
new file mode 100644
index 0000000000..8285b2f2af
--- /dev/null
+++ b/files/pt-pt/web/html/element/head/index.html
@@ -0,0 +1,108 @@
+---
+title: '<head> : O elemento dos metadados (Cabeçalho) do documento'
+slug: Web/HTML/Elemento/head
+tags:
+ - Elemento
+ - HTML
+ - 'HTML:Metadata content'
+ - Referencia
+ - Web
+translation_of: Web/HTML/Element/head
+---
+<div>{{HTMLRef}}</div>
+
+<p>O <strong>elemento</strong> <strong><code>&lt;head&gt;</code> </strong>de <strong>HTML </strong>fornece a informação geral (metadados) sobre o documento, incluindo o seu título e hiperligações para as suas folhas de estilo e <em>scripts</em>.</p>
+
+<table class="properties">
+ <tbody>
+ <tr>
+ <th><a href="/en-US/docs/Web/HTML/Content_categories">Categorias de conteúdo</a></th>
+ <td>None.</td>
+ </tr>
+ <tr>
+ <th>Permitted content</th>
+ <td>If the document is an {{HTMLElement("iframe")}} {{htmlattrxref("srcdoc", "iframe")}} document, or if title information is available from a higher level protocol, zero or more elements of metadata content.<br>
+ Otherwise, one or more elements of metadata content where exactly one is a {{HTMLElement("title")}} element.</td>
+ </tr>
+ <tr>
+ <th>Tag omission</th>
+ <td>The start tag may be omitted if the first thing inside the head element is an element.<br>
+ The end tag may be omitted if the first thing following the head element is not a space character or a comment.</td>
+ </tr>
+ <tr>
+ <th>Permitted parents</th>
+ <td>An {{HTMLElement("html")}} element, as its first child.</td>
+ </tr>
+ <tr>
+ <th>Permitted ARIA roles</th>
+ <td>None</td>
+ </tr>
+ <tr>
+ <th>DOM interface</th>
+ <td>{{domxref("HTMLHeadElement")}}</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Atributos">Atributos</h2>
+
+<p>Este elemento inclui os <a href="/pt-PT/docs/Web/HTML/Atributos_globais">atributos globais</a>.</p>
+
+<dl>
+ <dt>{{htmlattrdef("profile")}} {{obsolete_inline}}</dt>
+ <dd>Os <em>URIs </em>de um ou mais perfis de metadados, separados por um espaço em branco.</dd>
+</dl>
+
+<h2 id="Exemplo">Exemplo</h2>
+
+<pre class="brush: html">&lt;html&gt;
+ &lt;head&gt;
+ &lt;title&gt;Document title&lt;/title&gt;
+ &lt;/head&gt;
+&lt;/html&gt;
+</pre>
+
+<h2 id="Notas">Notas</h2>
+
+<p>Modern, HTML5-compliant browsers automatically construct a <code>&lt;head&gt;</code> element if the tags are omitted in the markup. <a class="external" href="https://www.stevesouders.com/blog/2010/05/12/autohead-my-first-browserscope-user-test/">This behavior cannot be guaranteed in ancient browsers</a>.</p>
+
+<h2 id="Especificações">Especificações</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Especificação</th>
+ <th scope="col">Estado</th>
+ <th scope="col">Comentário</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('HTML WHATWG', 'semantics.html#the-head-element', '&lt;head&gt;')}}</td>
+ <td>{{Spec2('HTML WHATWG')}}</td>
+ <td>No change from latest shapshot</td>
+ </tr>
+ <tr>
+ <td>{{SpecName('HTML5 W3C', 'document-metadata.html#the-head-element', '&lt;head&gt;')}}</td>
+ <td>{{Spec2('HTML5 W3C')}}</td>
+ <td>Obsoleted <code>profile</code></td>
+ </tr>
+ <tr>
+ <td>{{SpecName('HTML4.01', 'struct/global.html#h-7.4.1', '&lt;head&gt;')}}</td>
+ <td>{{Spec2('HTML4.01')}}</td>
+ <td> </td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Compatibilidade_de_navegador">Compatibilidade de navegador</h2>
+
+<p class="hidden">The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> and send us a pull request.</p>
+
+<p>{{Compat("html.elements.head")}}</p>
+
+<h2 id="Consulte_também">Consulte também</h2>
+
+<ul>
+ <li>Elements that can be used inside a <code>&lt;head&gt;</code> element: {{HTMLElement("title")}}, {{HTMLElement("base")}}, {{HTMLElement("link")}}, {{HTMLElement("style")}}, {{HTMLElement("meta")}}, {{HTMLElement("script")}}, {{HTMLElement("noscript")}}, {{HTMLElement("template")}}</li>
+</ul>