Computer Science, asked by hgsrky5176, 9 months ago

What do you mean by child element

Answers

Answered by ItzSharmaji
6

It's like a represantion of a genealogical tree. Whatever is behind a node are children of that node and whatever is over a node is the parent of a node, beeing the <html> the big granpa of all elements without any parent ;-) For example, <html> <body> <p>Hi.. I'm a child of body, and body is a child of html...

IF MY ANSWER HELPS YOU SO PLZ THANKS AND FOLLOW ME...(smile wala emoji)

Answered by kotourasan12374
0
Children: childNodes, firstChild, lastChild. There are two terms that we'll use from now on: Child nodes (or children) – elements that are direct children. In other words, they are nested exactly in the given one. For instance, and are children of element.
Similar questions