Difference between XML and HTML?

Answer Posted / manish pal

1. Html stands for hypertext markup language.
XML stands for eXtensible markup language.
2. Html extension .html,Xml extension .xml.
3. Html is static, Xml is dynamic.
4. Html is case insensitive,Xml is case sensitive.
5. Html used only to format the information.
Xml cannot be formatted at all.
6. Html only defines the data.Xml describes the data.
7. Html properly enclosed tags, each and every starting.
Xml properly enclosed tags, contains one root tag and
more than one sub tag.
8. Html document starts and end with <html> and </html>
tags. Xml document start with <? and end with ?>.
9. In Html, it is stored inside the files.
In Xml, data is stored in separate Xml files.
10.To display Html, we used CSS. In Xml, we used XSL.

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I read an xml file?

508


How you can enhance your XSL test?

515


What is purpose of xml?

472


How to validate an atom 1.0 feed file?

446


state some disadvantages of xml?

495






How do I create an xsl file?

460


What xpointer schemes are supported in this release?

474


I’m trying to understand the xml spec: why does it have such difficult terminology?

487


How do I import an xml file into excel?

510


What is xml vs html?

473


How do I configure an xpointer processor?

479


Write a code for xml attribute and element.

469


How do I subscribe to an rss feed?

443


What is a podcast feed url?

470


What are xml tools?

484