diff options
| author | Florian Merz <me@fiji-flo.de> | 2021-02-11 14:47:54 +0100 |
|---|---|---|
| committer | Florian Merz <me@fiji-flo.de> | 2021-02-11 14:47:54 +0100 |
| commit | 30feb96f6084a2fb976a24ac01c1f4a054611b62 (patch) | |
| tree | d73194ae27b60156ff0ca54013c8c4ad8519f10a /files/it/web/api/document/firstchild/index.html | |
| parent | 8260a606c143e6b55a467edf017a56bdcd6cba7e (diff) | |
| download | translated-content-30feb96f6084a2fb976a24ac01c1f4a054611b62.tar.gz translated-content-30feb96f6084a2fb976a24ac01c1f4a054611b62.tar.bz2 translated-content-30feb96f6084a2fb976a24ac01c1f4a054611b62.zip | |
unslug it: move
Diffstat (limited to 'files/it/web/api/document/firstchild/index.html')
| -rw-r--r-- | files/it/web/api/document/firstchild/index.html | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/files/it/web/api/document/firstchild/index.html b/files/it/web/api/document/firstchild/index.html deleted file mode 100644 index 99a2a04fc2..0000000000 --- a/files/it/web/api/document/firstchild/index.html +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: document.firstChild -slug: Web/API/Document/firstChild -translation_of: Web/API/Node/firstChild -translation_of_original: Web/API/document.firstChild ---- -<div>{{APIRef("DOM")}}</div> - -<p><code>document.firstChild</code> restituisce il primo nodo figlio del documento.</p> - -<h3 id="Sintassi" name="Sintassi">Sintassi</h3> - -<pre class="eval"><i>child = document.firstChild</i> -</pre> - -<h3 id="Parametri" name="Parametri">Parametri</h3> - -<ul> - <li><code>figlio</code> รจ un nodo di tipo <a href="it/DOM/element">element</a>.</li> -</ul> - -<h3 id="Esempio" name="Esempio">Esempio</h3> - -<pre>function primoFiglio() { - f = document.firstChild; - alert(f.tagName); -} -// restituisce [object DocumentType] se il documento ha una DTD -// altrimenti restituisce "HTML" - -// Per un documento HTML che ha una DTD -// document.firstChild -// restituisce [object DocumentType] - -</pre> - -<h3 id="Specifiche" name="Specifiche">Specifiche</h3> - -<p><a class="external" href="http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-169727388">DOM Level 2 Core: firstChild</a></p> - -<p>{{ languages( { "pl": "pl/DOM/document.firstChild" } ) }}</p> |
