+ 1

What are div and parent element mean ??

18th Jul 2020, 2:08 AM
Fahd Raafat Muhammad
Fahd Raafat Muhammad - avatar
3 odpowiedzi
+ 2
Hello Fahd Raafat Muhammad A parent element is the element that contains another element(s). For the snippet below, the <div> is the parent of the <p> element. <div id="parent"> <p id="child">Child element</p> </div> There had been many discussion about <div> element, I suggest you to try and use the search bar 👍
18th Jul 2020, 2:43 AM
Ipang
+ 1
Ipang thank you very much
18th Jul 2020, 5:47 AM
Fahd Raafat Muhammad
Fahd Raafat Muhammad - avatar
+ 1
You're welcome Fahd Raafat Muhammad 👌
18th Jul 2020, 6:47 AM
Ipang