From The Document Foundation Wiki
Jump to navigation Jump to search

What can be confusing at first, is that the HTML is very similar to XML. It is a language with tags that open and close. Big difference though, HTML was defined with tags that describe the presentation, while the XML tags deal with the content. But yes, HTML is a subset of SGML, but only for processing data on the Web.