what are parent and child elements in html code example
Example: What are parent and child elements
<body>
<div></div>
</body>
In this example, body is the parent element of div, and div
is the child element of body.
<body>
<div></div>
</body>
In this example, body is the parent element of div, and div
is the child element of body.