Can a node in DOM have multiple parents nodes?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can a node in DOM have multiple parents nodes??

FORM DOM

15th Dec 2017, 5:04 AM
Sachin Sigdel
Sachin Sigdel - avatar
4 Answers
+ 4
No, DOM is a tree-like structure that does not support multiple inheritance by default--a child node can only have one parent.
27th May 2018, 1:06 PM
ark
ark - avatar
0
No. There ia even a question in 'small test' while learning DOM in js ( from the last circle ex-es).
10th Nov 2018, 12:19 PM
Գաբրիել Ադամյան
Գաբրիել Ադամյան - avatar
0
No, DOM is a like a tree structure that does not support multiple inheritance by default which means each child node can have only one parent, but one parent can have any number childs.
7th Oct 2019, 10:14 AM
Bilal Ahmad Ayobi
Bilal Ahmad Ayobi - avatar
0
NOOOOOOOOOOOOOOOOO
20th Sep 2021, 6:50 PM
Rb Raihan
Rb Raihan - avatar