Help please!


#1

Elements and Structure
HTML Document Standards 12/14: Indentation

Don’t Know what I’m doing wrong…:thinking:

https://www.codecademy.com/courses/learn-html-elements/lessons/common-html-elements/exercises/indentation-html?action=resume_content_item&course_redirect=learn-html


#2

Are you unable to understand the lesson text? Or the instructions?

We are given a valid HTML fragment with no indentation.

<body>
<h1>Whitespace</h1>    
<div>
<p>Whitespace and indentation make html documents easier to read.</p>
</div>  
</body>

If you study the example given in the lesson, you should be able to spot the nesting levels in the above. Some lines will get two spaces, some (one actually) will get four, and two lines will get no indentation.


#3

Still not aware of what I’m doing wrong…


#4

Post your code please.


#6

Don’t know how…
I’m only a beginner.


#8

Copy the HTML in your editor and paste it in a reply.


#9

A post was split to a new topic: Move css to external style sheet


#10

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