Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML How to Make a Website HTML First Use HTML Elements

Raul Remy
Raul Remy
965 Points

Is this well written?

<!DOCTYPE html> <html> <head> <meta characterset="utf-8"> <title>Raul Remy | Designer</title> </head> <body> <header> <h1>Raul Remy</h1> <h2>Designer</h2> </header>
<section> <p>Gallery will go here.</p> </section> <footer> <p>Ā© 2015 Raul Remy.</p> </footer> </body>
</html>

index.html
<!DOCTYPE html>
<html>
  <head>
    <meta characterset="utf-8">
  </head>
  <body>

  </body>

</html>

3 Answers

Christian Kroul
Christian Kroul
9,849 Points

Well the first answer is the correct formatting, the second is missing the formatting, if that answers your question.

Raul Remy
Raul Remy
965 Points

Thanks! I have to put: charset and not characterset.

Grace Kelly
Grace Kelly
33,990 Points

The first one is very well written, for me there's nothing better than well indented code haha and I would agree with Christian that the second one needs formatting :)

Raul Remy
Raul Remy
965 Points

I am a newbie. What do you mean by formatting. Could you give me an example? Thanks!