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/body | |
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/body')
-rw-r--r-- | files/it/web/api/document/body/index.html | 88 |
1 files changed, 0 insertions, 88 deletions
diff --git a/files/it/web/api/document/body/index.html b/files/it/web/api/document/body/index.html deleted file mode 100644 index e13f8e1400..0000000000 --- a/files/it/web/api/document/body/index.html +++ /dev/null @@ -1,88 +0,0 @@ ---- -title: Document.body -slug: Web/API/Document/body -tags: - - API - - DOM - - HTML DOM - - Proprietà - - Referenza -translation_of: Web/API/Document/body ---- -<div>{{APIRef("DOM")}}</div> - -<p>La proprietà <strong><code>Document.body</code></strong> rappresenta il nodo {{HTMLElement("body")}} o {{HTMLElement("frameset")}} del documento corrente, o <code>null</code> se non esiste alcun elemento di questo tipo.</p> - -<h2 id="Sintassi">Sintassi</h2> - -<pre class="syntaxbox">var <var>objRef</var> = document.body; -document.body = <var>objRef</var>;</pre> - -<h2 id="Esempio">Esempio</h2> - -<pre class="brush:js">// Dato questo HTML: <body id="oldBodyElement"></body> -alert(document.body.id); // "oldBodyElement" - -var aNewBodyElement = document.createElement("body"); - -aNewBodyElement.id = "newBodyElement"; -document.body = aNewBodyElement; -alert(document.body.id); // "newBodyElement" -</pre> - -<h2 id="Appunti">Appunti</h2> - -<p><code>document.body</code> è l'elemento che contiene il contenuto per il documento. Nei documenti con contenuto <code><body></code> restituisce l'elemento <code><body></code>, e nei documenti frameset, restituisce l'elemento <code><frameset></code> più esterno.</p> - -<p>Anche se <code>body</code> è settabile, l'impostazione di un nuovo corpo su un documento rimuoverà efficacemente tutti i figli attuali dell'elemento <code><body></code>.</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('HTML WHATWG','dom.html#dom-document-body','Document.body')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td> </td> - </tr> - <tr> - <td>{{SpecName('HTML5.1','dom.html#dom-document-body','Document.body')}}</td> - <td>{{Spec2('HTML5.1')}}</td> - <td> </td> - </tr> - <tr> - <td>{{SpecName('HTML5 W3C','dom.html#dom-document-body','Document.body')}}</td> - <td>{{Spec2('HTML5 W3C')}}</td> - <td> </td> - </tr> - <tr> - <td>{{SpecName('DOM2 HTML','html.html#ID-56360201','Document.body')}}</td> - <td>{{Spec2('DOM2 HTML')}}</td> - <td> </td> - </tr> - <tr> - <td>{{SpecName('DOM1','level-one-html.html#attribute-body','Document.body')}}</td> - <td>{{Spec2('DOM1')}}</td> - <td>Definizione iniziale.</td> - </tr> - </tbody> -</table> - -<h2 id="Compatibilità_con_i_browser">Compatibilità con i browser</h2> - - - -<div>{{Compat("api.Document.body")}}</div> - -<h2 id="Vedi_anche">Vedi anche</h2> - -<ul> - <li>{{domxref("document.head")}}</li> -</ul> |