Hi friends,
What is the difference between HTML & XHTML ?
thanks
HTML & XHTML
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Vineet Kumar SainiRank #257 · 9.8K reputationPosted Nov 18, 2011, 6:44 PM EST
Difference between HTML & XHTML are as follows:-
XHTML is a stricter and cleaner version of HTML.
The most important difference between the two markup languages is that
HTML stands for HyperText Markup Language.
XHTML stands for EXtensible HyperText Markup Language.
HTML, is an application of SGML (Standard Generalized Markup Language).
XHTML, is an application of XML (Extensible Markup Language).
HTML permits the omission of any tags.
XHTML doesn't permit the omission of any tags.
Attribute Names are not case sensitive in HTML.
Attribute Names are case sensitive in XHTML.
HTML is not supported by all major browsers.
XHTML is supported by all major browsers.
HTML elements may be in lowercase or uppercase.
XHTML elements must be in lowercase.
XHTML elements must always be closed.
Deepak DwijRank #348 · 7.2K reputationPosted Nov 18, 2011, 6:47 PM EST