diff options
| author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:42:17 -0500 |
|---|---|---|
| committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:42:17 -0500 |
| commit | da78a9e329e272dedb2400b79a3bdeebff387d47 (patch) | |
| tree | e6ef8aa7c43556f55ddfe031a01cf0a8fa271bfe /files/it/web/html/element/head/index.html | |
| parent | 1109132f09d75da9a28b649c7677bb6ce07c40c0 (diff) | |
| download | translated-content-da78a9e329e272dedb2400b79a3bdeebff387d47.tar.gz translated-content-da78a9e329e272dedb2400b79a3bdeebff387d47.tar.bz2 translated-content-da78a9e329e272dedb2400b79a3bdeebff387d47.zip | |
initial commit
Diffstat (limited to 'files/it/web/html/element/head/index.html')
| -rw-r--r-- | files/it/web/html/element/head/index.html | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/files/it/web/html/element/head/index.html b/files/it/web/html/element/head/index.html new file mode 100644 index 0000000000..d59465ed2b --- /dev/null +++ b/files/it/web/html/element/head/index.html @@ -0,0 +1,85 @@ +--- +title: <head> +slug: Web/HTML/Element/head +tags: + - HTML + - 'HTML:Metadata content' +translation_of: Web/HTML/Element/head +--- +<h2 id="Sommario">Sommario</h2> + +<p>L'<strong>elemento HTML <code><head></code></strong> contiene informazioni generali (metadati) sul documento, inclusi il titolo e link a o definizioni di script e fogli di style.</p> + +<ul class="htmlelt"> + <li><dfn><a href="/en-US/docs/HTML/Content_categories" title="HTML/Content_categories">Categorie di contenuti</a></dfn> Nessuna.</li> + <li><dfn>Contenuti permessi</dfn>Se l'elemento è un {{HTMLElement("iframe")}} {{htmlattrxref("srcdoc", "iframe")}}, o se il titolo è disponibilie tramite un protocollo di livello superiore, zero o più elementi contenenti metadati.<br> + Altrimenti, uno o più elementi contenenti metadati dei quali esattamente uno è un elemento {{HTMLElement("title")}}.</li> + <li><dfn>Omissione del tag</dfn>Il tag iniziale può essere omesso se la prima cosa nell'elemento <code><head></code> è un altro elemento.<br> + Il tag finale può essere omesso se la prima cosa che segue l'elemento <code><head></code> non è uno spazio o un commento.</li> + <li><dfn>Elementi genitore permessi</dfn>Deve esse il primo figlio di un elemento {{HTMLElement("html")}}.</li> + <li><dfn>Interfaccia DOM</dfn> {{domxref("HTMLHeadElement")}}</li> +</ul> + +<h2 id="Attributi">Attributi</h2> + +<p><span style="line-height: 21px;">Questo elemento include gli </span><a href="https://developer.mozilla.org/en-US/docs/HTML/Global_attributes" style="line-height: 21px;" title="HTML/Global attributes">attributi globali</a><span style="line-height: 21px;">.</span></p> + +<dl> + <dt>{{htmlattrdef("profile")}} {{obsolete_inline}}</dt> + <dd>Gli URI di uno o più profili di metadata, separati da uno spazio.</dd> +</dl> + +<h2 id="Esempio">Esempio</h2> + +<pre class="brush: html"><html> + <head> + <title>Titolo del documento</title> + </head> +</html> +</pre> + +<h2 id="Note">Note</h2> + +<p>La maggior parte dei browser costruisce automaticamente un elemento <code><head></code> se non è presente. <a class="external" href="http://www.stevesouders.com/blog/2010/05/12/autohead-my-first-browserscope-user-test/" title="http://www.stevesouders.com/blog/2010/05/12/autohead-my-first-browserscope-user-test/">Comunque, alcuni non lo fanno</a>.<br> + Questi browser non creano automaticamente un elemento <code><head></code>: Android <=1.6, iPhone <=3.1.3, Nokia 90, Opera <=9.27 e Safari <=3.2.1.</p> + +<h2 id="Specifications" name="Specifications">Specifiche</h2> + +<table class="standard-table"> + <thead> + <tr> + <th scope="col">Specifica</th> + <th scope="col">Stato</th> + <th scope="col">Commenti</th> + </tr> + </thead> + <tbody> + <tr> + <td>{{SpecName('HTML WHATWG', 'semantics.html#the-head-element', '<head>')}}</td> + <td>{{Spec2('HTML WHATWG')}}</td> + <td> </td> + </tr> + <tr> + <td>{{SpecName('HTML5 W3C', 'document-metadata.html#the-head-element', '<head>')}}</td> + <td>{{Spec2('HTML5 W3C')}}</td> + <td> <code>profile</code> obsoleto</td> + </tr> + <tr> + <td>{{SpecName('HTML4.01', 'struct/global.html#h-7.4.1', '<head>')}}</td> + <td>{{Spec2('HTML4.01')}}</td> + <td> </td> + </tr> + </tbody> +</table> + +<h2 id="Browser_compatibility" name="Browser_compatibility">Compatibilità con i browser</h2> + +<p>{{Compat("html.elements.head")}}</p> + +<h2 id="Vedi_anche">Vedi anche</h2> + +<ul> + <li>Elementi che possono essere usati nell'elemento <span style="font-family: Courier New;"><head></span>: {{HTMLElement("title")}}, {{HTMLElement("base")}}, {{HTMLElement("link")}}, {{HTMLElement("style")}}, {{HTMLElement("meta")}}, {{HTMLElement("script")}}, {{HTMLElement("noscript")}}, {{HTMLElement("command")}}</li> +</ul> + +<div>{{HTMLRef}}</div> |
