TML elements are often nested within other HTML elements. In the previous step you nested the h2 element, comment and p element within the main element. A nested element is a child of its parent element.
To make HTML easier to read, indent the h2 element, the comment, and p element exactly two spaces to indicate they are children of the main element.
How can i indicate that they are children of the main element?
can anyone help ??
Thank you!
**Your code so far**
<html>
<body>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos.-->
<p>Click here to view more cat photos.</p>
</body>
</html>
**Your browser information:**
User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14588.98.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.0.0 Safari/537.36
Your topic and description shows that you are doing step six of cat photo app, but the code and the link shows that you are doing Step 4?
Assuming you are doing step 6:
For Step 6, You have to make sure the h2, the comment and p are exactly six spaces from the start of the line.
I would recommend you to click Restart Step and add two spaces for the h2, comment and the p OR select the h2, comment and p and press the tab key once.
Your h2 element should be below the main element’s opening tag and its opening tag should start 6 spaces over from the start of the line. Your p element should be below the comment and its opening tag should start 6 spaces over from the start of the line.