Q. What is XHTML?
Q. So XHTML 1.0 is exactly the same as HTML 4?
Q. And what about XHTML 1.1?
Q. What’s the difference between XHTML 1.0 and HTML 4?
Q. I’m looking for a book on XHTML. Do you know of any good ones?
Q. XHTML is based on the XML standard. Do you know of any good XML books?
Q. What is XHTML?
A. XHTML stands for Extensible HyperText Markup Language. In short, XHTML 1.0 redefines the HTML 4.0 spec as an XML 1.0 application.
Q. So XHTML 1.0 is exactly the same as HTML 4?
A. Not entirely. XHTML is a much stricter implementation of HTML 4. This is to allow smaller devices (like cell phones, and handhelds), which need much smaller sized browsers to surf the web. By having a very simple set of rules, you can dramatically reduce the size of the browser application.
Q. And what about XHTML 1.1?
A. XHTML 1.1 is a modularized implementation of XHTML 1.0. What that means is that browsers can choose which “modules” it can support – like sound, color, graphics, etc. Not all browsers or devices need to support every XHTML tag to be XHTML compatible.
Q. What’s the difference between XHTML 1.0 and HTML 4?
A. There are many differences, but here is a list of some of the bigger ones:
* Documents must be well-formed
That means, all tags must have closing tags and be properly nested. All
tags must have a corresponding
.
* Element names must be in lower case
is not valid while is.
* Attribute values must always be quoted