answersLogoWhite

0

What is the difference between XHTML and XML?

Updated: 8/17/2019
User Avatar

Wiki User

15y ago

Best Answer

By standards, XHTML has a list of allowable tags to be used in an XHTML document, each one with a specific purpose. There is also a list of allowable attributes. XHTML is used primarily for creating websites, and structuring their data for display. XML documents, however, may have tags of any name - although not a single one serves a widespread, general purpose. XML tags may have any number of attributes with any name desired. Alone, XML also structures data, but generally not for display.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between XHTML and XML?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the differences between htmlxmlsgml and xhtml?

basikly xhtml is a mics of html and xml. the difference in html and xhtml is that xhtml is a more strict on the syntax and defined as a xml document. xml is a self defined language... in short it is a strikter html in xml format...


Difference between HTML and xHTML 1.0?

HTML uses SGML-like syntax. XHTML 1.0 uses XML syntax. HTML uses HTML DOM, XHTML uses XML DOM. There are small differences between those. Other than that, they're identical. They use same tags, attributes, have same semantics. XHTML 1.0 specification is very short and refers to HTML 4 specification for all important matters.


XHTML is the combination of what?

XHTML is a combination of largely HTML and a small portion of XML.


Is html a replacement for xhtml?

No. HTML existed before XHTML. XHTML combines XML and HTML, so it is an advancement on HTML.


Is a reformulation of HTML so it conforms to xml rules?

Yes it is. the xhtml 1.0 to be precise!


What is a hypertext document coded in?

HTML or sometimes XHTML or even XML


What are the requirements for valid XHTML coding syntax?

The requirement for a valid XHTML is that all the tags should be closed. This is actually the difference between HTML and XHTML.


What is the difference between xslt and xml?

XML is a language used to store data. XSLT is a language which is used to transform XML into other XML.


What is a rewritten form of HTML using xml?

The HTML language, which was originally based of SGML, was rewritten following XML guidelines for the XHTML 1.0 and 1.1 standards. These standards were well embraced by the web development community, but XHTML has since been largely supplanted in new projects by HTML 5 (which is not XML compliant.)


What is difference between XML property and XML dimension?

The xml property returns the XML of a node and its descendants.Dimension is a type used for a variety of purposes for defining values


Html and xHTML?

HTML and XHTML are two different languages used for web and application design. XHTML was a popular choice from about the year 2000, to 2011. HTML 5 is intended to replace XHTML. XHTML followed the basic rules of XML-based languages. HTML (both prior and since) do not.


What is a version of HTML that is based on xml?

XHTML. Its full name is eXtensible HyperText Markup Language.