Technically, XML languages like XHTML are a subset of SGML as well. HTML is not XML though.
For example, the following is legal HTML but not XML:
<img src="foo.jpg" title="Foo">
In XML, the img element would either have to have a closing </img> tag or the opening tag must close itself (<img />)