Date First Published: 27th November 2022
Topic: Web Design & Development
Subtopic: Web Development
Article Type: Computer Terms & Definitions
Difficulty: MediumDifficulty Level: 6/10
Learn more about what XHTML is in this article.
XHTML is an XML-based version of HTML that extends HTML and XML and allows it to work with other data formats, such as XML. It works in a similar way to HTML, allowing font, colour, graphics, and hyperlinks to be achieved and instructing the web browser on how to display elements, but XHTML documents are parsed using standard XML parsers rather than a less strict HTML-specific parser. The main difference between HTML and XML is that XHTML is much stricter than HTML in syntax and case sensitivity as unlike HTML, one error in an XHTML document will cause the whole file to fail when processed for output.
XHTML is not a programming language. It is a markup language that combines the features of XML and HTML.
XHTML documents end with the file extension '.xhtml' or '.xht'. The file extension '.xhtml' is much more common than '.xht'.
The differences between HTML and XHTML are:
XHTML became a W3C recommendation on 26th January 2000 and XHTML 1.1 became a W3C recommendation on 31st May 2001. The standard known as XHTML5 is being developed as an XML adaptation of the HTML5 specification.
If so, it is important that you tell me as soon as possible on this page.
Network Services Network Setups Network Standards Network Hardware Network Identifiers Network Software Internet Protocols Internet Organisations Data Transmission Technologies Web Development Web Design Web Advertising Web Applications Web Organisations Web Technologies Web Services SEO Threats To Systems, Data & Information Security Mechanisms & Technologies Computer Hardware Computer Software Ethics & Sustainability Legislation & User Data Protection