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 trialA X
12,842 PointsWhy no quotes around strings in HTML?
I'm a language browser here on Treehouse, and I'm coming back to HTML...and now I'm wondering why, when many other languages use single or double quotes around strings, does HTML not use this convention?
2 Answers
Jason Anders
Treehouse Moderator 145,860 PointsShort answer is like Kevin said, HTML is not a programming language. Technically, the file would actually be called an HTML Document... much like a MSWord document (or any word processing file). In fact, if you wanted to, you could actually write an HTML file in any Text Editor or Word Processor.
Kevin Korte
28,149 PointsBecause html isn't a language with arrays, objects, methods, numbers, and strings. It's just a markup language, so there is really no need for that level of complexity.