---
title: "Is there an XML version of HTML?"  
description: "Is there an XML version of HTML?"  
author: "Anonymous User"  
published: 2011-05-18  
updated: 2020-09-17  
canonical: https://www.mindstick.com/interview/942/is-there-an-xml-version-of-html  
category: "xml"  
tags: ["xml"]  
reading_time: 1 minute  

---

# Is there an XML version of HTML?

Yes, the W3C recommends using XHTML which is ‘a reformulation of HTML 4 in XML 1.0’. This specification defines HTML as an XML application, and provides three DTDs corresponding to the ones defined by HTML 4.* (Strict, Transitional, and Frameset). \
The semantics of the elements and their attributes are as defined in the W3C Recommendation for HTML 4. These semantics provide the foundation for future extensibility of XHTML. Compatibility with existing HTML browsers is possible by following a small set of guidelines (see the W3C site).

## Answers

### Answer by Anonymous User

Yes, the W3C recommends using XHTML which is ‘a reformulation of HTML 4 in XML 1.0’. This specification defines HTML as an XML application, and provides three DTDs corresponding to the ones defined by HTML 4.* (Strict, Transitional, and Frameset). \
The semantics of the elements and their attributes are as defined in the W3C Recommendation for HTML 4. These semantics provide the foundation for future extensibility of XHTML. Compatibility with existing HTML browsers is possible by following a small set of guidelines (see the W3C site).


---

Original Source: https://www.mindstick.com/interview/942/is-there-an-xml-version-of-html

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
