XHTML

Stands for "Extensible Hypertext Markup Language." XHTML is markup language used to create webpages. It is similar to HTML but uses a more strict XML-based syntax. The first version of XHTML (1.0) was standardized in 2000. For several years, XHTML was the most common language used to create websites. It has since been superseded by HTML5.

Why XHTML?

As HTML evolved over the first few decades of the web, browsers became increasingly lenient in how they parsed webpage source code. The result was that websites were rendered inconsistently between browsers. One of the main goals of XHTML was to ensure webpages looked the same across multiple browsers.

Since XHTML is based on XML rather than HTML, webpages coded in XHTML must conform to a strict XML syntax. A webpage that uses the "XHTML Strict" doctype (DTD) cannot contain any errors or invalid tags, leaving no ambiguity for the web browser. However, most XHTML sites used the "XHTML Transitional" doctype, which does not require perfect syntax and even allows HTML 4.01 tags.

From 2001 to about 2011, XHTML was the standard markup language for web development. Some developers used a strict XHTML DTD, though most used transitional doctype. Since most web developers preferred a more flexible language, the web eventually transitioned back to HTML. In 2014, HTML5 was officially recommended by the W3C. Most modern browsers still support both HTML and XHTML.

Updated December 28, 2019 by Per C.

quizTest Your Knowledge

Which of the following describes Single Sign-On (SSO) authentication?

A
Signing into multiple systems with one set of credentials
0%
B
Using a temporary set of credentials that are only valid once
0%
C
Allowing only one user access to a system at a time
0%
D
Using a guest account whose information is deleted after signing out
0%
Correct! Incorrect!     View the SSO definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of XHTML on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.