Home > DeveloperSection > Interviews > What’s the difference between XML and HTML?

Posted on    April-02-2013 2:38 AM

 1 Answer(s)
  1298  View(s)
Rate this:

Vijay Shukla

Total Post:81

Posted on    April-02-2013 12:00 AM

XML and HTML look parallel. Both are used tags and attributes (such as align=”left” or type=”personal”) to add information to the content. In fact, a carefully prepared HTML document can double as an XML document. The difference is that HTML is a well-defined set of elements and attributes.

On the other hand, HTML has somewhat looser rules than XML, so some HTML documents are not well-formed XML documents.

Don't want to miss updates? Please click the below button!

Follow MindStick