Valid Web Designs XHTML Tutorial

In this tutorial we are going to cover the basics of XHTML and not go into great detail, as this would just add confusion. To get the most about XHTML it is better if it is learned alongside CSS.

Coding with XHTML and useing CSS can accomplish more than basic HTML.

What Is XHTML?

XHTML stands for EXtensible HyperText Markup Language.

XHTML is similar to HTML. It is the newer version, stricter and cleaner.

XHTML is defined as XML.

HTML + XML = XHTML.

Why use XHTML?

In today's world of technology many portable internet devices use XML (a "well formed" data describer) and HTML to display this data. Since XML must be well formed there is little or no room for badly coded HTML to be interpreted and displayed properly.

Using XHTML will help to insure your website will display properly in portable devices and desktops. Don't jump and start thinking that by using XHTML that your pages will display in all portable devices. They won't, devices such as mobile phones require a little more.

With XHTML you are insuring your pages are more accessible, defined properly, ready for the future while still covering the past.

Simply think of XHTML as the bridge that connects the past with the future and the road being one non-breaking base.