
November 6th, 2012, 10:57 AM
|
 |
pollyanna
|
|
Join Date: Jul 2012
Location: Germany
|
|
Hi,
is it really so hard to read a Wikipedia article? You don't even have the read the whole thing, just the first few paragraphs.
In case it's still too much for you:
No, HTML and XML are not the same. In fact, they have little in common except the concept and (mostly) the syntax.
HTML is a language specifically designed to describe web documents. It has elements that are useful for websites such as "button", "form" etc. XML, on the other hand, is a generalized data format. It isn't bound to a specific purpose. You can use it to store and transport any textual data (mathematical equations, a calendar, text documents etc.).
Since the good old HTML has been rewritten in XML (under the label "XHTML"), you can view XHTML as a kind of "applied XML".
|