WHAT’S THE DIFFERENCE BETWEEN XML AND HTML?

Vijay Shukla

Total Post:81

Points:405
Posted by  Vijay Shukla
XML 
XML
 1345  View(s)
Ratings:
Rate this:
  1. Vijay Shukla

    Post:81

    Points:405
    What’s the difference between XML and HTML?

    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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!