Difference between XML and HTML?

Answers were Sorted based on User's Feedback



Difference between XML and HTML?..

Answer / harish

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. XML allows the author to define his own tags
and his own document structure. The tags used to markup
HTML documents and the structure of HTML documents are
predefined. The author or the HTML documents can only use
tags that are defined in the HTML standard.

Is This Answer Correct ?    228 Yes 23 No

Difference between XML and HTML?..

Answer / 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

Difference between XML and HTML?..

Answer / 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

Difference between XML and HTML?..

Answer / sarankumarreddy.c

XML describes data while HTML describes how the data should
be displayed.So HTML is about displaying information while
XML is about describing information.

Is This Answer Correct ?    118 Yes 28 No

Difference between XML and HTML?..

Answer / asisha begum

1.In XML, Data is stored in separate XML files but in HTML,
it is stored inside the files.
2.White Spaces is preserved in XML 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 is used to describe data and to focus on what data is
but HTML is designed to display data and to focus on how
data looks.

Is This Answer Correct ?    77 Yes 15 No

Difference between XML and HTML?..

Answer / amandeep singh bhatia

HTML focus on how data looks.It display the data.While XML
focus on what data is and it store the data.

Is This Answer Correct ?    47 Yes 6 No

Difference between XML and HTML?..

Answer / bsn

In XML, all elements must be properly nested with in each
other.In HTML we can have improperly nested tags.In XML,
white space in a document is not truncated. HTMl truncates
multiple white space into single white space.

Is This Answer Correct ?    47 Yes 10 No

Difference between XML and HTML?..

Answer / anil

1.xml is nota replacementfor html

Is This Answer Correct ?    52 Yes 19 No

Difference between XML and HTML?..

Answer / kunwar deep

XML was designed to carry data.

Before you continue you should have a basic understanding of the following :

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 .

HTML is about displaying information, while XML is about describing information.

Is This Answer Correct ?    39 Yes 10 No

Difference between XML and HTML?..

Answer / lebo

xml is closed after tags while html is only closed at the
end only

Is This Answer Correct ?    52 Yes 31 No

Post New Answer

More XML XSLT RSS Interview Questions

How does a template instantiated?

0 Answers  


Why xml is needed?

0 Answers  


How do I subscribe to an rss feed on my iphone?

0 Answers  


What is Extensible Markup Language?

0 Answers  


What is url what is the use of it?

0 Answers  






What is an rss feed link?

0 Answers  


What is the relation between atom and xml?

0 Answers  


Can I convert xml to csv?

0 Answers  


How do I convert an xml file to powerpoint?

0 Answers  


what is XSLT?

3 Answers  


How does xml store and transport data?

0 Answers  


What is xml island tag?

1 Answers  


Categories