What is the difference between html and xml?
Wow, it’s amazing the amount of misunderstanding of XML out there. There’s a long history of XML and HTML I won’t get into here since you’re probably not interested in that anyway. But understanding a little bit about it is important to understanding what they are and web design. HTML was originally designed to be a markup language. You use it to markup text documents to identity different parts of a document: headers, paragraphs, quotes, images, etc. As the Web became more popular, they added more and more styling elements to HTML: Bold, font types and sizes, etc. And because HTML is the main document format used for web pages, web browsers were developed to automatically render HTML markup with their own styles. This made a mess of the original purpose of HTML. It removed all document flow, destroyed any semantic meaning to HTML elements, made sharing HTML documents between computers difficult, and made maintaining these HTML documents a real pain. A lot of other standards have come