HTML (HyperText Markup Language) is a markup language used for creating and structuring web pages. It is the foundation for building web pages, with CSS acting as a visual layer on top.
XHTML (Extensible HyperText Markup Language) was created to address compatibility issues that arose as HTML evolved & to make HTML more scalable & extensible for working with data formats like XML.