XHTML stands for eXtensible Hyper Text Markup Language. It is the next phase in the evolution of HTML. The last version of HTML before XHTML was HTML 4.01. Fundamentally, XHTML is HTML with a stricter syntax and standards for cleaner and more efficient code. While it has not done so yet, XHTML is aimed to eventually replace HTML.
Many pages on the web contain bad HTML (missing closing tags, tags not closed in the proper order, attributes not quoted, etc.). XHTML combats these errors be setting rules such as all tags must be closed and must be in the right order. XHTML will help you write cleaner, more efficient code that is up to modern standards and will validate with a webpage validator.
The tutorials in this section included information on a variety of XHTML topics including the purpose of XHTML, the differences between XHTML and HTML, XHTML syntax, XHTML page validation, XHTML modules, and more.
NOTE: XHTML is NOT a separate language from HTML, but the next phase of HTML
Visit the HTML examples section for plenty of working examples of XHTML/HTML code.
Practice your XHTML/HTML skills with the HTML/XHTML exercises (answers included if you get stuck)
Plenty of XHTML/HTML reference material is available at our HTML reference section including a full list of XHTML modules, HTTP status codes, XHTML/HTML colors, XHTML/HTML tags, and more.
Test your knowledge of XHTML with the XHTML quiz
Now that you know how to build webpages, the next step is to learn how to style them. How is this done? With CSS! CSS stands for Cascading Style Sheets and it is a language used to control the style, layout, and appearance of various elements on webpages. With CSS you can do things like add a background color to your page, set a font for text, set a border around elements, and much more.
Begin learning CSS in our CSS tutorials section.