From 074785cea106179cb3305637055ab0a009ca74f2 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:52 -0500 Subject: initial commit --- files/pt-br/web/html/element/head/index.html | 153 +++++++++++++++++++++++++++ 1 file changed, 153 insertions(+) create mode 100644 files/pt-br/web/html/element/head/index.html (limited to 'files/pt-br/web/html/element/head/index.html') diff --git a/files/pt-br/web/html/element/head/index.html b/files/pt-br/web/html/element/head/index.html new file mode 100644 index 0000000000..a8ad153397 --- /dev/null +++ b/files/pt-br/web/html/element/head/index.html @@ -0,0 +1,153 @@ +--- +title: +slug: Web/HTML/Element/head +tags: + - HTML head + - head +translation_of: Web/HTML/Element/head +--- +
{{HTMLRef}}
+ +

The HTML <head> elemento providencia informações gerais (metadados) sobre  document, incluindo seu título e links para scripts e folhas de estilos.

+ + + + + + + + + + + + + + + + + + + + + + + + +
Categoria de conteúdoNenhuma.
Conteúdo permitido +

Se o elemento é um {{HTMLElement("iframe")}}

+ +

{{htmlattrxref("srcdoc", "iframe")}}, ou se a informação do título está sendo avaliada desde um nivel alto do protocolo, zero ou mais elementos de conteúdo de metadados.

+ +

Por outro lado, um ou mais elementos de conteúdo de metadados onde exatamente um é um {{HTMLElement("title")}} elemento.

+
Omissão de tag +

A tag inicial pode ser omitida se a primeira coisa dentro do head elemento é um elemento.

+ +

A tag final pode ser omitida se a primeira coisa seguindo o elemento head não é um caractere espaço ou um comentário.

+
Elementos parentes permitidosUm {{HTMLElement("html")}} elemento, como primeiro filho.
DOM interface{{domxref("HTMLHeadElement")}}
+ +

Attributos

+ +

Estes elementos incluem os atributos globais.

+ +
+
{{htmlattrdef("profile")}} {{obsolete_inline}}
+
A URIs de um ou mais perfis de metadados , separado por espaço em branco.
+
+ +

Exemplo

+ +
<html>
+  <head>
+    <title>Document title</title>
+  </head>
+</html>
+
+ +

Notas

+ +

Moderno, HTML5-compatível browsers automaticamente constrói um elemento <head> se as tags forem omitidas na marcação. Este comportamento não pode ser garantido por browsers antigos.

+ +

Especificações

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
EspecificaçãoEstadoComentário
{{SpecName('HTML WHATWG', 'semantics.html#the-head-element', '<head>')}}{{Spec2('HTML WHATWG')}}Nenhuma mudança desde o último shapshot
{{SpecName('HTML5 W3C', 'document-metadata.html#the-head-element', '<head>')}}{{Spec2('HTML5 W3C')}}Perfil Obsoleto
{{SpecName('HTML4.01', 'struct/global.html#h-7.4.1', '<head>')}}{{Spec2('HTML4.01')}} 
+ +

Compatibilidade do Browser

+ +

{{CompatibilityTable}}

+ +
+ + + + + + + + + + + + + + + + + + + +
ComponentesChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Support básico1.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
+
+ +
+ + + + + + + + + + + + + + + + + + + +
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
+
+ +

See also

+ + -- cgit v1.2.3-54-g00ecf