dear Ikramy,
wujen and jasonsalas gave you good description of XHTML and XML, but i'd like to add more:
=====================
What is XHTML
=====================
- XHTML stands for eXtensible HyperText Language
- XHTML is aimed to REPLACE HTML
- XHTML is almost IDENTICAL to HTML 4.01
- XHTML is a STRICTER and CLEANER version of HTML
- XHTML is HTML defined as an XML application
- XHTML is a combination of HTML and XML (eXtensible Markup Language)
- XHTML consists of all the elements in HTML 4.01 combined with the syntax of XML
=============================
XHTML is a Web Standard
=============================
XHTML 1.0 became an official W3C Recommendation January 26, 2000.
A W3C Recommendation means that the specification is stable, that it has been reviewed by the W3C membership, and that the specification is now a Web standard.
=============
Why XHTML?
=============
We have reached a point where many pages on the
"bad" HTML. The following code will work fine if you view it in a browser, even if it does not follow the HTML rules:
<HTML>
<HEAD>
<TITLE>This is bad HTML</TITLE>
<BODY>
<H1>Bad HTML
</BODY>
XML is a markup language where everything has to be marked up correctly, which results in "well-formed" documents. XML was designed to describe data and HTML was designed to display data.
Today's market consists of different browser technologies, some browsers run internet on computers, and some browsers run internet on mobile phones and palm pilots. The last-mentioned do not have the resources or power to interpret a "bad" markup language.
Therefore - by combining HTML and XML, and their strengths, we got a markup language that is useful now and in the future - XHTML.
XHTML pages can be read by all XML enabled devices AND while waiting for the rest of the world to upgrade to XML supported browsers, XHTML gives you the opportunity to write "well-formed" documents now, that work in all browsers and that are backward browser compatible !!!
Fore more information about XHTML, please refere to
Regards.