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 Introduction to HTML and CSS (2016) Adding a New Web Page Set up an HTML Document

Does the "<!doctype html>" have to be capital

Does it have to be in capital letters?

2 Answers

With HTML5, the standard formatting for a DOCTYPE is <!DOCTYPE html> However, as Alex Ker has pointed out, it is not case-sensitive.

thx

It is ASCII case-insensitive according to W3 HTML specifications.