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
Darren Maguire
1,002 PointsIs case sensitivity necessary with <!DOCTYPE html> ?
On various occasions I've seen instructors use it in both upper and lowercase. I'm just curious as to which is the correct one.
2 Answers
Patrik Horváth
11,110 Pointsno HTML 5 is not casesenzitive however some people think if you write it in lovercase your code is wrong but they are wrong your code is OKEY :)
but in XML serializations you should use UPPERCASE
Cory Harkins
16,500 Pointshttps://www.w3.org/TR/html5/syntax.html#the-doctype
Attn. to: Article 8.1.1