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

General Discussion

What is the difference between HTML, XML, XHTML, and SGML ?

I saw this one video the difference between HTML, XML, XHTML, and SGML. But I was confused so can anyone simplify what the difference is from you guy's knowledge. Also, I'm curious but about how many markup languages are there, the one with 'ML' at the end ? Also, should I learn those for markup languages?

1 Answer

Steven Parker
Steven Parker
242,284 Points

I found this article that may help sort out the first few of those. And a nice diagram from a set of lecture notes on web basics, though it's not very explanative in itself. But the wikipedia pages will give you thorough information for each: HTML, XML, XHTML, and SGML.

But as to what to learn, if you want to do any kind of web development, start with HTML. Once you're comfortable with that, the others will be easier to pick up if and when you may need them.