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

Is xslt a programming language?

449


How to use filtering function in XSLT?

526


Where is xml used?

434


What is an rss file extension?

478


What is a rss feed link?

441






What is xsl apply templates?

511


Which is the best tool one should learn i.e the tool having demand in the market for XSL?

494


How are comments used in xml?

460


Write a program that shows the elements of the stylesheets?

455


What are the different types of parts used in xsl?

500


How is xsl different from css?

436


What are the various advantages of xsl?

495


What is the function of smon?

512


What are xml entities used for?

491


How does xml handle white-space in my documents?

502