Here is the comparison of HTML & XHTML
HTML:
HTML stands for Hyper Text Markup Language.
It’s filename extension is .html, .htm
It is developed by W3C & WHATWG, Proposed by Tim Berners-Lee in 1987.
HTML is the main markup language.
Web pages are written in HTML.
We can migrate documents from HTML to XHTML.
HTML is based on SGML.
Browsers do not display HTML tags but use them to render the content of the page
XHTML:
XHTML stands for Extensible HyperText Markup Language.
It’s filename extension is .html, .htm and also .xhtml, .xml, .xht
It is developed by World Wide Web Consortium in 2000.
XHTML is family of XML markup languages.
It is extended version of HTML that is stricter and XML-based.
We can migrate documents from XHTML to HTML.
XHTML is based on XML.
XHTML is supported by all major browsers
For Wed Designing Course Details Click Here