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

Can you convert xml to csv?

471


Is xml relational?

498


What does svg stand for and what is it used for?

495


Tell me can we use graphics in xml?

502


Explain about the role of xml in soap?

480






Can you use the xslt to convert html into vxml? : xslt

498


What are the steps required to make xsl work?

514


What can I do with an xml file?

419


What are xml tags?

439


Explain various roles of xslt?

487


How do start a podcast?

439


How do I execute or run an xml file?

503


What are the elements of wsdl?

471


What is the relation of soap with xml?

489


What is the difference between xml and http?

431