Skip to content

Commit 042060b

Browse files
pasor1longo-andrea
andauthored
Update 2-ui/1-document/03-dom-navigation/article.md
Co-authored-by: Andrea <45577511+longo-andrea@users.noreply.github.com>
1 parent 613bbd2 commit 042060b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2-ui/1-document/03-dom-navigation/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ I collegamenti sono simili a quelli visti prima, ma con l'aggiunta della parola
229229
- `previousElementSibling`, `nextElementSibling` -- gli elementi vicini.
230230
- `parentElement` -- l'elemento genitore.
231231

232-
````smart header="Why `parentElement`? Può un genitore *non* essere un elemento?"
232+
````smart header="Perché `parentElement`? Può un genitore *non* essere un elemento?"
233233
La proprietà `parentElement` restituisce l'elemento genitore, mentre `parentNode` restituisce "qualsiasi nodo" genitore. Queste proprietà in genere coincidono: entrambe restituiscono lo stesso genitore.
234234

235235
Con l'unica eccezione di `document.documentElement`:

0 commit comments

Comments
 (0)