Html

how to add this? Use whitespace to make the code more readable by putting each element on its own line.
and the code is

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

Its basically asking you to put each block level element on its own line:

<!DOCTYPE html>
<html>
  <body>
    <h1>Whitespace</h1>
    <p>Whitespace and indentation make html documents easier to read.</p>
  </body>
</html>
1 Like