What are parent elements and child elements in HTML and CSS?

Hi, I just want to know what are parents and childs in HTML.
I think it’s in the HTML courses but I’ve learn HTML form another site, and I don’t want to start over.


Sorry if i don’t posted this in the correct category. I’m new.

1 Like

body is the parent element of div, div is a child of body. HTML has a hierarchy structure.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.