What are th differences between HTML and XHTML?
Please explain about both of them and which of them is better?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Abhay ShankerPosted May 10, 2014, 12:06 PM
http://www.webstandards.org/learn/articles/askw3c/oct2003/
Phuc NguyenPosted May 10, 2014, 11:20 AM
HTML and XHTML are both languages in which web pages are written. HTML is SGML-based while XHTML is XML-based. They are like two sides of the same coin. 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.
The reason for XHTML to be developed was convoluted browser specific tags. Pages coded in HTML appeared different in different browsers.
See detail at: http://www.diffen.com/difference/HTML_vs_XHTML
and http://www.w3schools.com/html/html_xhtml.asp