XHTML stands for Extensible Hypertext Markup Language and is aimed to replace HTML. XHTML is almost identical to HTML 4.01 but is a stricter and cleaner version defined as an XML application. XHTML documents the rules of XML, requiring elements to be properly nested, closed, and in lowercase with one root element.