Difference between XML and HTML?

Answer Posted / gaurav makhijani

1)XML stands for Extensible Markup Language,HTML - short for
Hypertext Markup Language

2)In XML, Data is stored in separate XML files but in HTML,
it is stored inside the files.

3)HTML is predefined Language. XML is user defined language.

4)To display HTML, we used CSS.In XML, we used XSL.

5) XML was designed to describe data and to focus on what
data is. HTML was designed to display data and to focus on
how data looks.

6) HTML is about displaying information, XML is about
describing information

7)HTML is static and XML is dynamic.


8).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.

9)HTML is not case-sensitive where as XML is case-sensitive.

10)In XML we can define our own tags as it is not possible
in HTML.

11)In XML it is mandatory to close each and every tag where
as in HTML it is not required.

12)XML describes the data where as HTML only defines the data.

Is This Answer Correct ?    101 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I create an xml schema in excel?

456


What is dhtml and xml?

470


Is using rss feeds legal?

479


Is xsl and xslt the same?

448


How do I change a text file to xml?

446






What are building blocks of xml?

445


How do I convert xml to pdf?

445


what are the predefined entities in XML ?

1715


What is sgml and xml?

462


What is an xml namespace prefix?

479


How do I override a default xml namespace declaration?

497


What is rss (really simple syndication)?

427


Can we execute an xml?

526


What is the xml tag?

458


What is the purpose of xml namespaces?

516