Please visit our sponsors !
XHTML - Why?
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.
Why XHTML?
We have reached a point where many pages on the WWW contain "bad"
HTML.
The following HTML 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
hand helds. 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 !!!
Jump to: Top of Page
or HOME or
Printer friendly page
Search W3Schools:
What Others Say About Us
Does the world know about us? Check out these places:
Dogpile
Alta Vista
MSN
Google
Excite
Lycos
Yahoo
Ask Jeeves
We Help You For Free. You Can Help Us!
W3Schools is for training only. We do not warrant its correctness or its fitness for use.
The risk of using it remains entirely with the user. While using this site, you agree to have read and accepted our
terms of use and
privacy policy.
Copyright 1999-2002 by Refsnes Data. All Rights Reserved
|