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 trialkabir k
Courses Plus Student 18,036 PointsWriting the document type element like this: <!doctype html>
I have seen some document type elements written like this:
<!doctype html>
instead of
<!DOCTYPE html>
Does it matter how it is written? If yes, why?
3 Answers
Greg Kaleka
39,021 PointsNope - doesn't matter! Check out the "tips and notes" section here:
Elad Edri
5,971 PointsIt doesn't matter, that's true, but by convention it is customary to use caps on the <!DOCTYPE>, and this is a good habit to follow conventions.
kabir k
Courses Plus Student 18,036 PointsThanks, Elad.
nikhil raj
110 Pointshow to type exclamation mark on keyboard
Greg Kaleka
39,021 PointsHi Nikhil,
A typical QWERTY keyboard, used in the US (the letters QWERTY are the first six letters on this keyboard layout), has the exclamation mark on the 1 key. To get an exclamation mark, you would hold down Shift while you hit the 1 key.
If you're not on a QWERTY keyboard, it may be different. I strongly suggest taking a keyboarding class if this is difficult for you. You will have a very hard time with programming if you can't find the keys you need for letters, brackets, punctuation, etc.
Good luck!
-Greg
kabir k
Courses Plus Student 18,036 Pointskabir k
Courses Plus Student 18,036 PointsOk thanks, Greg Kaleka.