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 Build Structure

how important is the html tag i think it's same as doctype code

how we use the html tag and what it does

Hi John,

You might find this link interesting: https://www.w3schools.com/tags/tag_doctype.asp

My understanding is that the doctype system is a browser setting referencing system and only now seems easy in the later versions of html and browser implementation. Where as the html tag is a html element, used in determining the base association and order of the rest of the element tags.

ok thank for your wonderful answer mister tedconrick

1 Answer

Hey, <!DOCTYPE html> tell the browser that the version of HTML is HTML5 whic has all new features. <html><html> it's the root element of webpage ... You must type it to create the structure of webpage everything is childern of the <html> tag and <html> can't be a childern :-) Good Luck :-)