RE: What is the main difference between XML and HTML?
Unlike HTML XML tags identify the data rather than specify how to display it. Whereas an HTML tag says something like "Display this data in bold font" (<b>...</b>) an XML tag acts like a field name in your program. It puts a label on a piece of data that identifies it (for example <message>...</message>).
RE: What is the main difference between XML and HTML?
1. Xml is case sensitive 2. In xml there is no predefined tags such as <b> 3. Eech element must be closed. <hr> should be as <hr > 4. Each attribute must be in enclosed by "". 5. Xml is for data html is for visualization.