What’s the difference between XML and HTML?
2511
02-Apr-2013
Anonymous User
26-Sep-2019Key Differences Between XML and HTML
Vijay Shukla
02-Apr-2013XML 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.