HTML and XHTML are two different languages used for web and application design. XHTML was a popular choice from about the year 2000, to 2011. HTML 5 is intended to replace XHTML.
XHTML followed the basic rules of XML-based languages. HTML (both prior and since) do not.