diff options
Diffstat (limited to 'files/it/web/html/element/body/index.html')
-rw-r--r-- | files/it/web/html/element/body/index.html | 211 |
1 files changed, 0 insertions, 211 deletions
diff --git a/files/it/web/html/element/body/index.html b/files/it/web/html/element/body/index.html deleted file mode 100644 index 4af9d7287c..0000000000 --- a/files/it/web/html/element/body/index.html +++ /dev/null @@ -1,211 +0,0 @@ ---- -title: <body> -slug: Web/HTML/Element/body -translation_of: Web/HTML/Element/body ---- -<h2 id="Sommario">Sommario</h2> - -<p>L'<strong>elemento HTML <code><body></code></strong> rappresenta il contenuto di un documento HTML. Può essere presente solo un elemento <code><body></code> in un documento.</p> - -<ul class="htmlelt"> - <li><dfn><a href="/en-US/docs/Web/HTML/Content_categories">Categorie di contenuto</a></dfn> <a href="/en-US/docs/Web/HTML/Sections_and_Outlines_of_an_HTML5_document#Sectioning_roots">Sezioni principali</a>.</li> - <li><dfn>Contenuti permessi</dfn> <a href="/en-US/docs/Web/HTML/Content_categories#Flow_content">Contenuti di flusso</a>.</li> - <li><dfn>Omissione del tag</dfn>Il tag iniziale può essere omesso se la prima cosa all'interno di esso non è uno spazio, un commento, un elemento {{HTMLElement("script")}} o un elemento {{HTMLElement("style")}}. Il tag finale può essere omesso se l'elemento <code><body></code> ha dei contenuti o ha il tag iniziale che non sia immediatamente seguito da un commento.</li> - <li><dfn>Elementi genitore permessi</dfn>Deve essere il secondo elemento figlio di un elemento {{HTMLElement("html")}}.</li> - <li><dfn>Interfaccia DOM</dfn> {{domxref("HTMLBodyElement")}} - <ul> - <li>L'elemento <code><body></code> espone l'interfaccia {{domxref("HTMLBodyElement")}}.</li> - <li>Puoi accedere all'elemento <code><body></code> di una pagina attraverso {{domxref("document.body")}}.</li> - </ul> - </li> -</ul> - -<h2 id="Attributi">Attributi</h2> - -<p>Questo elemento include gli <a href="/en-US/docs/Web/HTML/Global_attributes">attributi globali</a>.</p> - -<dl> - <dt>{{htmlattrdef("alink")}} {{obsolete_inline}}</dt> - <dd>Il colore del testo dei link quando vengono selezionati. <em>Questo metodo non è conforme, usa la proprietà CSS {{cssxref("color")}} insieme alla pseudo-classe {{cssxref(":active")}} sugli elementi <code><a></code>.</em></dd> - <dt>{{htmlattrdef("background")}} {{obsolete_inline}}</dt> - <dd>L'URI di un'immagine da usare come sfondo. <em>Questo metodo non è conforme, usa la proprietà CSS {{cssxref("background")}} sull'elemento <code><body></code>.</em> - <div class="note"><strong>Nota:</strong> A partire da Gecko 7.0 {{geckoRelease("7.0")}}, <code>background</code> non è più trattato come URI, ma come una semplice stringa.</div> - </dd> - <dt>{{htmlattrdef("bgcolor")}} {{obsolete_inline}}</dt> - <dd>Il colore di sfondo del documento. <em>Questo metodo non è conforme, usa la proprietà CSS {{cssxref("background-color")}} sull'elemento <code><body></code>.</em></dd> - <dt>{{htmlattrdef("bottommargin")}} {{obsolete_inline}}</dt> - <dd>Il margine inferiore del corpo del documento. <em>Questo metodo non è conforme, usa la proprietà CSS {{cssxref("margin-bottom")}} sull'elemento <code><body></code>.</em></dd> - <dt>{{htmlattrdef("leftmargin")}} {{obsolete_inline}}</dt> - <dd>Il margine sinistro del corpo del documento. <em>Questo metodo non è conforme, usa la proprietà CSS {{cssxref("margin-left")}} sull'elemento <code><body></code>.</em></dd> - <dt>{{htmlattrdef("link")}} {{obsolete_inline}}</dt> - <dd>Il colore del testo dei link non ancora visitati. <em>Questo metodo non è conforme, usa la proprietà CSS {{cssxref("color")}} insieme alla pseudo-classe {{cssxref(":link")}} sugli elementi <code><a></code>.</em></dd> - <dt>{{htmlattrdef("onafterprint")}} {{HTMLVersionInline(5)}}</dt> - <dd>Una funzione da richiamare dopo che l'utente abbia stampato il documento.</dd> - <dt>{{htmlattrdef("onbeforeprint")}} {{HTMLVersionInline(5)}}</dt> - <dd>Una funzione da chiamare subito prima che il documento venga stampato.</dd> - <dt>{{htmlattrdef("onbeforeunload")}} {{HTMLVersionInline(5)}}</dt> - <dd>Una funzione da chiamare quando il documento sta per essere chiuso.</dd> - <dt>{{htmlattrdef("onblur")}} {{HTMLVersionInline(5)}}</dt> - <dd>Una funzione da chiamare quando il documento perde il focus.</dd> - <dt>{{htmlattrdef("onerror")}} {{HTMLVersionInline(5)}}</dt> - <dd>Una funzione da chiamare quando il documento non riesce a caricarsi correttamente.</dd> - <dt>{{htmlattrdef("onfocus")}} {{HTMLVersionInline(5)}}</dt> - <dd>Una funzione da chiamare quando il documento riceve il focus.</dd> - <dt>{{htmlattrdef("onhashchange")}} {{HTMLVersionInline(5)}}</dt> - <dd>Function to call when the fragment identifier part (starting with the hash (<code>'#'</code>) character) of the document's current address has changed.</dd> - <dt>{{htmlattrdef("onlanguagechange")}} {{experimental_inline}}</dt> - <dd>Una funzione da chiamare quando la lingua preferita cambia.</dd> - <dt>{{htmlattrdef("onload")}} {{HTMLVersionInline(5)}}</dt> - <dd>Una funzione da chiamare quando termina il caricamento della pagina.</dd> - <dt>{{htmlattrdef("onmessage")}} {{HTMLVersionInline(5)}}</dt> - <dd>Una funzione da chiamare quando il documento riceve un messaggio.</dd> - <dt>{{htmlattrdef("onoffline")}} {{HTMLVersionInline(5)}}</dt> - <dd>Una funzione da chiamare quando il browser si disconnette da internet.</dd> - <dt>{{htmlattrdef("ononline")}} {{HTMLVersionInline(5)}}</dt> - <dd>Una funzione da chiamare quando il browser si riconnette a internet.</dd> - <dt>{{htmlattrdef("onpopstate")}} {{HTMLVersionInline(5)}}</dt> - <dd>Una funzione da chiamare quando l'utente si sposta nella cronologia.</dd> - <dt>{{htmlattrdef("onredo")}} {{HTMLVersionInline(5)}}</dt> - <dd>Una funzione da chiamare quando l'utente si sposta in avanti nella cronologia.</dd> - <dt>{{htmlattrdef("onresize")}} {{HTMLVersionInline(5)}}</dt> - <dd>Una funzione da chiamare quando la pagina viene ridimensionata.</dd> - <dt>{{htmlattrdef("onstorage")}} {{HTMLVersionInline(5)}}</dt> - <dd>Una funzione da chiamare quando lo spazio di archiviazione a disposizione cambia.</dd> - <dt>{{htmlattrdef("onundo")}} {{HTMLVersionInline(5)}}</dt> - <dd>Una funzione da chiamare quando l'utente si sposta in dietro nella cronologia.</dd> - <dt>{{htmlattrdef("onunload")}} {{HTMLVersionInline(5)}}</dt> - <dd>Una funzione da chiamare quando il documento viene chiuso.</dd> - <dt>{{htmlattrdef("rightmargin")}} {{obsolete_inline}}</dt> - <dd>Il margine destro del corpo del documento. <em>Questo metodo non è conforme, usa la proprietà CSS {{cssxref("margin-right")}} sull'elemento <code><body></code>.</em></dd> - <dt>{{htmlattrdef("text")}} {{obsolete_inline}}</dt> - <dd>Il colore del testo. <em>Questo metodo non è conforme, usa la proprietà CSS {{cssxref("color")}} sull'elemento <code><body></code>.</em></dd> - <dt>{{htmlattrdef("topmargin")}} {{obsolete_inline}}</dt> - <dd> - <div>Il margine superiore del corpo del documento. <em>Questo metodo non è conforme, usa la proprietà CSS {{cssxref("margin-top")}} sull'elemento <code><body></code>.</em></div> - </dd> - <dt>{{htmlattrdef("vlink")}} {{obsolete_inline}}</dt> - <dd>Il colore del testo dei link già visitati. <em>Questo metodo non è conforme, usa la proprietà CSS {{cssxref("color")}} insieme alla pseudo-classe {{cssxref(":visited")}} sugli elementi <code><a></code>.</em></dd> -</dl> - -<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', 'sections.html#the-body-element', '<body>')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>Cambiata la lista delle funzionalità non conformi.</td> - </tr> - <tr> - <td>{{SpecName('HTML5 W3C', 'sections.html#the-body-element', '<body>')}}</td> - <td>{{Spec2('HTML5 W3C')}}</td> - <td>Dichiarate obsolete gli attributi deprecati.<br> - Definito il comportamento degli attributi non conformi e mai standardizzati <strong><code>margintop</code></strong>, <strong><code>marginleft</code></strong>, <strong><code>marginright</code></strong> e <strong><code>marginbottom.</code></strong></td> - </tr> - <tr> - <td>{{SpecName('HTML4.01', 'struct/global.html#h-7.5.1', '<body>')}}</td> - <td>{{Spec2('HTML4.01')}}</td> - <td>Dichiarati deprecati gli attributi <strong><code>alink</code></strong>, <strong><code>background</code></strong>, <code><strong>bgcolor</strong></code>, <code><strong>link</strong></code>, <code><strong>text</strong></code> e <code><strong>vlink</strong></code>.</td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility" name="Browser_compatibility">Compatibilità con i browser</h2> - -<p>{{CompatibilityTable}}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Funzionalità</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Supporto di base</td> - <td>1.0</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - <tr> - <td><code>onlanguagechange</code></td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoDesktop("32")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - <tr> - <td><code>bottommargin</code>, <code>leftmargin</code>, <code>rightmargin</code>, <code>topmargin</code> {{obsolete_inline}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoDesktop("35")}} [1]</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th><span style="font-family: 'Open Sans Light',sans-serif; font-size: 16px; line-height: 16px;">Funzionalità</span></th> - <th>Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td><span style="font-size: 12px; line-height: 18px;">Supporto di base</span></td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - <tr> - <td><code>onlanguagechange</code></td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile("32")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - <tr> - <td><code>bottommargin</code>, <code>leftmargin</code>, <code>rightmargin</code>, <code>topmargin</code> {{obsolete_inline}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("35")}} [1]</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] Prima era supportato solo in modalità Quirk Mode.</p> - -<h2 id="See_also" name="See_also">Vedi anche</h2> - -<ul> - <li>{{HTMLElement("html")}}</li> - <li>{{HTMLElement("head")}}</li> -</ul> - -<div>{{HTMLRef}}</div> |