answersLogoWhite

0


Best Answer

HTML is a language used to build web pages. XML is a set of standards used to create other languages.

HTML is a markup language defined by the World Wide Web Consortium (W3C) and primarily used to code web-pages. HTML gives a group of pre-defined tags, like <BODY> and <A> and <LINK> that have well-defined uses and generally accepted default styles in modern browsers.

XML isn't a language at all. Rather, it's a particular syntax for setting up a language. It creates that idea of an element, and give those elements content and attributes. XML allows a programmer to create a language that is defined to specifically suit her needs. This is done one of several ways, but the most popular are by creating a Document Type Definition or an XML Schema. These documents define the behavior of the language itself.

HTML and XML are combined in the ubiquitous XHTML 1.0 and 1.1 specifications from the W3C. XHTML is being supplanted by HTML 5. HTML 5, by default, isn't an XML based language, but you can use XML-style code by changing the MIME type to application/html+xml.

A second version of XHTML was in the works at the W3C, but work stopped in December of 2010.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

15y ago

XML is generally used to store and transport data, while HTML is used to display data. More information can be found at http://www.w3schools.com/xml/.

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

XML and HTML both are markup languages but for different devices. They both can be used for designing and optimization.

This answer is:
User Avatar

Add your answer:

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

How do those xml differ from HTML?

XML is different from HTML in many ways. XML can be used mainly for mobile designing while HTML for web designing.


What is the similarity's between HTML and xml?

HTML and XML both are markup languages. These languages use tags for functionality.


What is the extension of HTML and xml?

You mean the file extension, right? HTML: .html or .htm XML: .xml


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...


How xml is different from HTML?

XML is more strict. For HTML, doing &lt;b&gt;&lt;i&gt;&lt;/b&gt;&lt;/i&gt; wouldn't matter. That would be invalid XML. Also, XML has no set tags. It's for storing and retrieving set data, that can be used with JavaScript code.


How do you get xml in HTML?

xml can be written straight into html code and vice versa using the correct syntax, ie your html in here and your xml in here


What are the different kinds of HTML?

Some different technologies that are built on top of HTML are DHTML - Dynamic HTML, XHTML - Extended HTML, XML - Extended Markup Language etc.


Is XML the same with HTML 5 as it was HTML 4?

There was no XML in HTML 4, and you can only add XML to HTML 5 if you reset the content MIME type. XML hasn't changed. But XML is a language used to define other languages. XML was used to define the standards for XHTML 1.0, the successor to HTML 4. The rules of XML apply in XHTML, because the language is based off of XML. These rules are not, in any way, part of HTML 4. HTML 5 is not, by default, an XML based language. But there is a version that allows one to use the XML (or XHTML) style serialization. If you do this, however, you have to deliver the document using an XML MIME type, like application/html+xml. (Normally, this involves messing with the server a bit.) See the related link for HTML 5 Doctor's take on XML serialization in HTML 5, as well as some other, useful links.


Does xml replace html in the future of world wide web?

XML probably will not replace HTML. XML is a language to define categories of data. HTML is a language to define format.


Differences between DHTML and XML?

HTML and its derrivative DHTML is used to position information in a web page, and XML is used to describe that information.


Are HTML and XML programming languages?

HTML and XML are scripting languages. These languages help in designing for mobiles and web.


What is a value in xml?

an xml value can be anything, its up to as xml is not a semantic language like html.