Question: what is the difference between html and xhtml?
Answer: HTML and XHTML are both languages in which web pages are written. HTML is SGML-based while XHTML is XML-based. ... XHTML was derived from HTML to conform to XML standards. Hence XHTML is strict when compared to HTML and does not allow user to get away with lapses in coding and structure.