XHTML Introduction

XHTML is a stricter and purer HTML code.

What is XHTML?

  • XHTML stands for Extensible HyperText Markup Language (EXtensible HyperText Markup Language).
  • The goal of XHTML is to replace HTML.
  • XHTML is almost the same as HTML 4.01.
  • XHTML is a stricter and purer version of HTML.
  • XHTML is a redefined HTML as an XML application.
  • XHTML is a W3C standard.

Knowledge to be mastered before

Before continuing with this tutorial, you should have a basic understanding of the following knowledge:

  • HTML
  • basic website building knowledge.

If you want to learn HTML first, please read our HTML Tutorial .

XHTML is a W3C standard

XHTML became a W3C standard on January 26, 2000.

W3C defines XHTML as the latest HTML version. XHTML will gradually replace HTML.

By using our W3C Tutorial , you will stay synchronized with the latest web standards.

All new browsers support XHTML

XHTML is compatible with HTML 4.01.

All new browsers support XHTML.

We have built CodeW3C.com using XHTML

XHTML is a restructured HTML 4.01 using XML. By following some simple guidelines, XHTML can be immediately used in existing browsers.

We use XHTML 100% to build CodeW3C.com.

Click this button: Validate the XHTML part of this page Validate the XHTML part of this page.

Click this button: Validate the CSS part of this page Validate the CSS part of this page.

About This Tutorial

The following chapters will explain:

  • Why Should You Use XHTML?
  • The Syntax of XHTML
  • How to Convert a Site to XHTML
  • XHTML Validation
  • XHTML Modularization