main element should have two paragraph elements as children.
I will like to know how to do that.will some one show me ?am new here
<div> has a child element:
<div id = "parent"> <h2 id = "child">I am an h2!</h2> </div>
Sometimes, tags may also have “grandchildren”
<div id = "parent"> <span id = "child"> <h3 id = "grandchild">I am an h3!</h3> </span> </div>
Do you see the pattern here?
<h1> is nested inside of a
<main> tag. which is the child?
<main> <p>[text]</p> <p>[text as well]</p> </main>