Since i m learning DOM its very confusing hare that how p become parent of h | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 2

Since i m learning DOM its very confusing hare that how p become parent of h

13th Dec 2017, 9:38 AM
Ritu raj
Ritu raj - avatar
3 Respostas
+ 4
<p> <h1> Hello World </h1> </p> in this markups the p is parent of h1 element
13th Dec 2017, 9:43 AM
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ 
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ  - avatar
+ 1
very detail source bro
21st Dec 2017, 10:49 AM
Nurul Ikhsan Justicia
Nurul Ikhsan Justicia - avatar
+ 1
parent here means the tag just before u r closedšŸ˜Š same parent implies they r siblings
24th Dec 2017, 9:48 AM
leevansha
leevansha - avatar