What is the difference between HTML and XHTML?


What is the difference between HTML and XHTML?

Answer this Question


3 total
Carla Manini
Vote Up (6)

I usually trust and learn from W3 Schools. Here is what they say:


XHTML is HTML written as XML.


Read the article here.

Vote Up (6)

Basically XHTML is an evolution of HTML with more coherent rules and better organization.  Webstandards.org lays out some of the differences and advantages here: http://www.webstandards.org/learn/articles/askw3c/oct2003/

Vote Up (3)


"Although HTML and XHTML appear to have similarities in their syntax, they are significantly different in many ways. "

Ask a question

Join Now or Sign In to ask a question.
Devops could be the latest and greatest buzzword, but it could also mean big and important changes - for the better- at many organizations in how applications are built and deployed.
Only six weeks after its release, Apple’s new programming language appears to already be on its way to replacing Objective-C
Beginning this fall, French primary school students will have the option of learning computer science
The recent release of Ubuntu 14.04 Long Term Support/LTS (Trusty Tahr) proves to us once again that it doesn't matter if you're Oracle, Microsoft, or Canonical: Bringing a fleet of products into new release revision synch is tough.
A new GitHub repo is collecting the life lessons that one can learn from programming
A new study finds that most top universities are now using Python to introduce students to programming
Python has surpassed Java as the top language used to introduce U.S. students to programming and computer science, according to a recent survey posted by the Association for Computing Machinery (ACM).
A non-programming profession which writes a lot of code looks at which languages can solve its problems the fastest
Microsoft's messy mobile strategy and incompatible platforms have frustrated would-be app developers. Can Universal Apps stop the rot?
One veteran shares his tale of being recognized for using his coding skills to make his military unit more efficient
Join us: