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 Use HTML Elements

Lewis Cowles
Lewis Cowles
74,902 Points

your definition is incorrect for HTML5 doctype

Not so much a discussion, as a factoid, but it's <doctype !html> not <!DOCTYPE html>, in the latest version of HTML (HTML5) also worth bearing in mind is that even for xhtml lowercase tag names were the norm, thoughts?

4 Answers

Nick Pettit
STAFF
Nick Pettit
Treehouse Teacher

Just wanted to follow up: This issue has been fixed in the code challenge. It's now case insensitive.

Tom Bedford
Tom Bedford
15,645 Points

It's case-insensitive, you can write it either way.

HTML5 DOCTYPE syntax.

Lewis Cowles
Lewis Cowles
74,902 Points

Okay, so why does the tutorial force to be answered as <!DOCTYPE html> is my point, it's just being case sensitive for no point, even google use lowercase

Tom Bedford
Tom Bedford
15,645 Points

The Treehouse site actually has it it in lowercase too. I can't speak for the challenge logic, I imagine it's just an oversight.

Nick Pettit?

Nick Pettit
Nick Pettit
Treehouse Teacher

That's really strange; in fact, I'm surprised we're doing any kind of case-sensitive checking. Thanks for pointing this out, I'll make sure it gets fixed!

Lewis Cowles
Lewis Cowles
74,902 Points

Thanks guys one of my staff got stuck too since I'm pretty dogmatic about all html tags being lowercase, I'm just going through things reviewing the content and tracks I believe can accelerate them the best