diff options
| author | Ryan Johnson <rjohnson@mozilla.com> | 2021-04-29 16:16:42 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-29 16:16:42 -0700 |
| commit | 95aca4b4d8fa62815d4bd412fff1a364f842814a (patch) | |
| tree | 5e57661720fe9058d5c7db637e764800b50f9060 /files/it/web/api/document/head | |
| parent | ee3b1c87e3c8e72ca130943eed260ad642246581 (diff) | |
| download | translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.gz translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.bz2 translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.zip | |
remove retired locales (#699)
Diffstat (limited to 'files/it/web/api/document/head')
| -rw-r--r-- | files/it/web/api/document/head/index.html | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/files/it/web/api/document/head/index.html b/files/it/web/api/document/head/index.html deleted file mode 100644 index 941a533431..0000000000 --- a/files/it/web/api/document/head/index.html +++ /dev/null @@ -1,84 +0,0 @@ ---- -title: Document.head -slug: Web/API/Document/head -tags: - - API - - Document - - HTML DOM - - Proprietà - - Referenza -translation_of: Web/API/Document/head ---- -<div>{{APIRef("DOM")}}</div> - -<p><span class="seoSummary">La proprietà <code><strong>head</strong></code> di sola lettura dell'interfaccia {{domxref("Document")}} restituisce l'elemento {{HTMLElement("head")}} del documento corrente.</span></p> - -<h2 id="Sintassi">Sintassi</h2> - -<pre class="syntaxbox">var <var>objRef</var> = document.head; -</pre> - -<h3 id="Valore">Valore</h3> - -<p>Un {{domxref("HTMLHeadElement")}}.</p> - -<h2 id="Esempio">Esempio</h2> - -<pre class="brush: html"><!doctype html> -<head id="my-document-head"> - <title>Esempio: usare document.head</title> -</head> - -<script> - var theHead = document.head; - - console.log(theHead.id); // "my-document-head"; - - console.log( theHead === document.querySelector("head") ); // true -</script> -</pre> - -<h2 id="Appunti">Appunti</h2> - -<p><code>document.head</code> è di sola lettura. Cercare di assegnare un valore a questa proprietà fallirà silenziosamente o, in <a href="/en-US/docs/Web/JavaScript/Reference/Strict_mode">Strict Mode</a>, genera un {{jsxref("TypeError")}} .</p> - -<h2 id="Specifiche">Specifiche</h2> - -<table class="spectable standard-table"> - <thead> - <tr> - <th scope="col">Specifica</th> - <th scope="col">Stato</th> - <th scope="col">Commento</th> - </tr> - </thead> - <tbody> - <tr> - <td>{{SpecName('HTML5.1','dom.html#dom-document-head','Document.head')}}</td> - <td>{{Spec2('HTML5.1')}}</td> - <td> </td> - </tr> - <tr> - <td>{{SpecName('HTML5 W3C','dom.html#dom-document-head','Document.head')}}</td> - <td>{{Spec2('HTML5 W3C')}}</td> - <td> </td> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG','dom.html#dom-document-head','Document.head')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>Definizione iniziale.</td> - </tr> - </tbody> -</table> - -<h2 id="Compatibilità_con_i_browser">Compatibilità con i browser</h2> - - - -<p>{{Compat("api.Document.head")}}</p> - -<h2 id="Vedi_anche">Vedi anche</h2> - -<ul> - <li>{{domxref("document.body")}}</li> -</ul> |
