Difference between XML and HTML?

Answer Posted / fareedha

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 ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you display xml with xslt?

696


What is the difference between dtd and xsd?

689


Is html xml?

635


What does xslt processing models involve? : xslt

624


How to use filtering function in xslt? : xslt

693


what are the special characters in xml ?

686


Is xsd xml?

615


How to tell web browsers that your web pages have atom feeds?

628


What is rss feed in social media?

621


What is provided by the elements that don’t recognize the namespace uri?

617


Does anyone still use rss?

602


What is XPATH? What is the use of it in XML?

652


What is xml document?

629


Explain about the role of xml in soap?

644


How do I override an xml namespace declaration that uses a prefix?

662