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.


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

A doctor performing a diagnosis over video chat is an example of what?

Correct! Incorrect!     View the Telehealth 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.