Difference between XML and HTML?

Answer Posted / anjali pareek

1.HTML is presentaton language where as XML is not either a
programing language or a presentation language. It is used
to transfer data between applications and databases.
2.HTML is not case-sensitive where as XML is case-sensitive.
3.In XML we can define our own tags as it is not possible
in HTML.
4.In XML it is mandatory to close each and every tag where
as in HTML it is not required.
5.XML describes the data where as HTML only defines the
data.

Is This Answer Correct ?    151 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an xml file for video?

441


Do the default values of xmlns attributes declared in the dtd apply to the dtd?

494


Explain how to retrieve value of an attribute for an element using XSLT?

482


What is xsl fo documents? Explain xsl-fo documents structure?

426


What is xsd file?

479






I keep hearing about alternatives to dtds. What’s a schema?

464


Write syntax to serialize class using XML Serializer?

501


How do I convert an xml file to pdf?

478


How do I convert excel to xml?

459


What is rss in html?

471


What is the relation between atom and xml?

490


Write a code for xml news?

509


Write a program to show literal result element as stylesheet?

440


What is the scope of an xml namespace declaration?

587


Define xpath? And what is xslt?

458