/  20
XHTML Tutorial
XHTML Tutorial
XHTML is a stricter and cleaner version of HTML.

In this tutorial you will learn the difference between HTML and
XHTML. We will also show you how this Web site was converted to
XHTML.

Start learning XHTML!
XHTML Quiz Test
Test your XHTML skills at W3Schools!
Start the XHTML Quiz!
Exam - Get Your Diploma!
W3Schools' Online Certification Program is the perfect solution for busy professionals who need to
balance work, family, and career building.
The HTML Developer Certificate is for developers who want to document their knowledge of HTML
4.01, XHTML, and CSS.
HTML Developer Certificate!
XHTML References
Our complete XHTML 1.0 reference is an alphabetical list of all XHTML tags with lots of examples
and tips.
XHTML 1.0 Reference
Table Of Contents
Introduction to XHTML
This chapter gives a brief introduction to XHTML and explains what XHTML is.
XHTML - Why?
This chapter explains why we needed a new language like XHTML.
Differences between XHTML and HTML
This chapter explains the main differences in syntax between XHTML and HTML.
XHTML Syntax
This chapter explains the basic syntax of XHTML.
XHTML DTD
This chapter explains the three different XHTML Document Type Definitions.
1
XHTML HowTo
This chapter explains how this web site was converted from HTML to XHTML.
XHTML Validation
This chapter explains how to validate XHTML documents.
XHTML Modules
This chapter explains the modularization of XHTML.
XHTML Summary
This chapter contains a summary on what you have learned in this tutorial and a recommendation
on what subject you should study next.
XHTML References
XHTML 1.0 Reference
Our complete XHTML 1.0 reference is an alphabetical list of all XHTML tags with lots of examples
and tips.
XHTML 1.0 Standard Attributes

All the tags have attributes. The attributes for each tag are listed in the examples in the "XHTML 1.0 Reference" page. The attributes listed here are the core and language attributes all the tags has as standard (with few exceptions). This reference describes the attributes, and shows possible values for each.

XHTML 1.0 Event Attributes
All the standard event attributes of the tags. This reference describes the attributes, and shows
possible values for each.
Introduction To XHTML
XHTML is a stricter and cleaner version of HTML.
What You Should Already Know
Before you continue you should have a basic understanding of the following:
HTML and the basics of building web pages
If you want to study HTML first, please read our H T ML t utori al.
What Is XHTML?
XHTML stands for EXtensibleHyperTextMarkupLanguage
XHTML is aimed toreplac e HTML
XHTML is almost id e ntical to HTML 4.01
XHTML is a stricter and cleaner version of HTML
XHTML is HTML defined as an XML application
XHTML is a W3C Recommendation
2
XHTML is a W3C Recommendation

XHTML 1.0 became a W3C Recommendation January 26, 2000.
W3C defines XHTML as the latest version of HTML. XHTML will gradually replace HTML.
Stay updated with the latest W3C recommendations in our W3C t utori al.

All New Browsers Support XHTML
XHTML is compatible with HTML 4.01.
All new browsers have support for XHTML.
W3Schools Has Converted To XHTML
XHTML is a reformulation of HTML 4.01 in XML, and can be put to immediate use with existing
browsers by following a few simple guidelines.
W3Schools was completely rewritten to XHTML 1.0 in 1999.
A click on this symbol:
validates the XHTML part of this page.
A click on this symbol:
validates the CSS part of this page.
About This Tutorial
The next chapters of this tutorial will explain:
Why you should use XHTML
The syntax of XHTML
How W3Schools was converted to XHTML
XHTML validation
XHTML modularization
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?
3

Share & Embed

More from this user

Recent Readcasters

Add a Comment

Characters: ...