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 trialsandro costanza
1,142 PointsI don't know where to put the Html tag . Please show me
I understand html does not go before or after DOCTYPE . How do you start a new line
<!DOCTYPE html>
3 Answers
Erik S.
9,789 PointsHTML tags look like this:
<html>
</html>
All your code goes in between. Hope this helps.
Luke Pettway
16,593 PointsA full HTML doc looks like this:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Your Documents Title</title>
</head>
<body>
All of your HTML code will go here
</body>
</html>
John Moya
17,963 PointsThe first tag of any document must be the DOCTYPE
which means Document Type
so the parser knows how to parse and tokenize
<!DOCTYPE html>
You should begin open a Html tag because
you are beginning to write html code remember to close the tag and write any other tags between the delimiters
<html>
Write html here
</html>