adspace


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

Are you ready to relocate? : xslt

918


Do you feel that you are a good xslt programmer? : xslt

869


What are the ways to add styles to html?

997


Do you feel that you have chosen the right technology xslt? : xslt

903