XHTML vs. HTML

Main Difference

HTML and XHTML are the web languages. Main difference between the two is that HTML is SGML based while XHTML is XML based. For conform the XML standards, XHTML was derived from HTML. XHTML is strict to follow rules of coding as compare to HTML. HTML coded pages appeared different in different browsers so XHTML was developed to convolute browser specific tags.

XHTML vs. HTML — Is There a Difference?
ADVERTISEMENT

Difference Between XHTML and HTML

XHTML vs. HTML

HTML is SGML based while XHTML is XML based.

XHTML vs. HTML

HTML stands for Hypertext Markup Language while XHTML stands for Extensible Hypertext Markup Language.

XHTML vs. HTML

XHTML has file extensions of .xhtml and .xht while HTML does not have such extensions.

XHTML vs. HTML

XHTML is strict to follow rules of coding and structure as compare to HTML.

XHTML vs. HTML

HTML was proposed by Tim Berners-Lee in 1987 while origin of origin is from World Wide Web Consortium Recommendation in 2000.

XHTML vs. HTML

The type of format of HTML is document file while the type of format XHTML is Markup Language.

ADVERTISEMENT

XHTML vs. HTML

HTML is developed by W3C & WHATWG while XHTML is developed by World Wide Web Consortium.

XHTML vs. HTML

HTML is the application of SGML ( Standard Generalized Markup language) while XHTML is application of XML.

Htmlnoun

a set of tags and rules (conforming to SGML) for using them in developing hypertext documents

What is HTML?

HTML stands for Hypertext Markup Language. It is used for creating web pages. It is based upon SGML. It has file extensions are .html and .htm. It was proposed by Tim Berners-Lee in 1987. Its internet media types are text / .htm. The type of format of HTML is document file.

What is XHTML?

XHTML stands for Extensible Hypertext Markup Language. It is used for creating web pages. It is based upon XML and derived from HTML. It has file extensions include .xhtml, .xht, .xml, .html and .htm. ITs origin is from World Wide Web Consortium Recommendation in 2000. Its internet media types are applications / xhtml + xml. The type of format XHTML is Markup Language.