0

Why does it say (<head>) has no children?

why does it say (<head>) has no children but, on the line above it says "<head> has one child..."?

1st Feb 2017, 4:54 PM
Jordan
3 Answers
+ 5
What are you referring to exactly? Anything between <head> is a child element. If there's nothing there then it's independent.
1st Feb 2017, 6:46 PM
Mark Foxx
Mark Foxx - avatar
+ 3
Your mistake is to bad read... it's written: <head> has one child (<title>) and one parent (<html>); <title> has one parent (<head>) and no children; The second line say <title> has one parent and no children, and in parenthesis that <head> is the parent of <title>, not that <head> has no child, on contrary ( implicitly, if <head> is parent of <title>, <head> has at least a child <title> ^^ )
2nd Feb 2017, 5:46 AM
visph
visph - avatar
0
I am sorry, in the Javascript DOM section, "what is DOM, section 2, on the example under the image is what I am referring to.
1st Feb 2017, 6:53 PM
Jordan