Does parent exist in html | Sololearn: Learn to code for FREE!

+2

Does parent exist in html

10/10/2019 8:40:22 PM

Onaolapo Ezekiel

10 Answers

New Answer

+5

Ezeklin parents are the block tag that exists before the other , for example <div id="a"> <div id="b"></div> </div> div with id[a] is a parent to div[b] and div[b] is a child to div[a].. It can be any other tag apart from div

+1

And grandparent, child but no uncles and aunties

+1

For real and grandparent

+1

I think it works like this. Html tag is the parent that contains 2 child tags head and body. The head tag is a child that is also a parent of the title tag, The title tag is a child of head tag but also has a grandparent which would be html tag.

+1

HTML node is the root node and has no parent.

+1

Mirielle sibling nodes of parent nodes can be uncles and aunts.

0

Mirielle 😂😂😂

0

Ezeklin What does mean by parent in html?

0

nope it's via CSS only parents could be introduced

0

<head> <title>Sololearn</title> </head> The head tags are the parent tags because they don't have to be nested.