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

What are the differences between HTML and XML?

670


What about non-xml resources?

715


Are xml elements ordered?

639


What are the standard ways of parsing xml document?

630


How do I execute or run an xml file?

675






If xml is just a subset of sgml, can I use xml files directly with existing sgml tools?

668


What do xml editors check?

626


What is xml data in word?

630


How can I validate an xml document that uses xml namespaces?

625


What is rss in html?

607


What is the terms Test Object Model, Test Object and Run-Time object?

676


What is xml and some of its applications?

574


What is xml designed for?

598


What are advantages of xml?

608


What is the correct syntax when we define XML version?

617