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 Create the Content Containers

help on html please!

when using html(5) to create website, does the code <!DOCTYPE html> always come first?

Yes, that's how the browser knows it needs to Read HTML5.

10 Answers

Your Welcome :)

Yes the <!DOCTYPE html> always comes in first.

thank u, i will always remember that!

Your Welcome :)

but what if am to be using python? will it be <!DOCTYPE python>?

I don't know much about python, but "NO" it will not be <!DOCTYPE python>

ok thanks 4 ur help!

Am sorry to bother u guys , but what about the 2n code? Is it always there too, like this? <!DOCTYPE html> <html> ??

What do you mean 2n code?

The code that comes after <!DOCTYPE html>

if you are talking about the <html> then yes it always there too.