Wrapping h1 and p


#1

how to wrap h1 and p in <div> and </div> ?


#2

Hi snigdhamajee,

You would do that like this:

<div>
    <h1> ... </h1>
    <p> ... </p>
</div>

See how the h1 and the p elements are now inside the div element?