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/documentelement/index.html | |
| 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/documentelement/index.html')
| -rw-r--r-- | files/it/web/api/document/documentelement/index.html | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/files/it/web/api/document/documentelement/index.html b/files/it/web/api/document/documentelement/index.html deleted file mode 100644 index e48895b7a0..0000000000 --- a/files/it/web/api/document/documentelement/index.html +++ /dev/null @@ -1,68 +0,0 @@ ---- -title: Document.documentElement -slug: Web/API/Document/documentElement -translation_of: Web/API/Document/documentElement ---- -<div>{{ApiRef("DOM")}}</div> - -<p><strong><code>Document.documentElement</code></strong> ritorna l'{{domxref("Element")}} che è l'elemento principale di {{domxref("document")}} (per esempio, l'elemento {{HTMLElement("html")}} per i documenti HTML).</p> - -<h2 id="Sintassi">Sintassi</h2> - -<pre class="syntaxbox">var <var>element</var> = <var>document</var>.documentElement; -</pre> - -<h2 id="Esempio">Esempio</h2> - -<pre class="brush:js">var rootElement = document.documentElement; -var firstTier = rootElement.childNodes; - -// firstTier è la NodeList dei figli diretti dell'elemento root -for (var i = 0; i < firstTier.length; i++) { - // fare qualcosa con ogni child diretto dell'elemento radice - // come firstTier[i] -}</pre> - -<h2 id="Appunti">Appunti</h2> - -<p>Per qualsiasi documento HTML non vuoto, <code>document.documentElement</code> sarà sempre un elemento {{HTMLElement("html")}}. Per qualsiasi documento XML non vuoto, <code>document.documentElement</code> sarà sempre qualunque elemento sia l'elemento radice del documento.</p> - -<h2 id="Specifiche">Specifiche</h2> - -<table class="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('DOM WHATWG','#dom-document-documentelement','Document.documentElement')}}</td> - <td>{{Spec2('DOM WHATWG')}}</td> - <td> </td> - </tr> - <tr> - <td>{{SpecName('DOM4','#dom-document-documentelement','Document.documentElement')}}</td> - <td>{{Spec2('DOM4')}}</td> - <td> </td> - </tr> - <tr> - <td>{{SpecName('DOM3 Core','core.html#ID-87CD092','Document.documentElement')}}</td> - <td>{{Spec2('DOM3 Core')}}</td> - <td> </td> - </tr> - <tr> - <td>{{SpecName('DOM2 Core','core.html#ID-87CD092','Document.documentElement')}}</td> - <td>{{Spec2('DOM2 Core')}}</td> - <td> </td> - </tr> - </tbody> -</table> - -<h2 id="Compatibilità_con_i_browser">Compatibilità con i browser</h2> - - - -<p>{{Compat("api.Document.documentElement")}}</p> |
