Difference between XML and HTML?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
Answer / lebo
xml is closed after tags while html is only closed at the
end only
Is This Answer Correct ? | 52 Yes | 31 No |
How do I create an rss feed for my podcast?
How do I create an xsl file?
How do I change a text file to xml?
What is the difference between xlt and xls?
Can xml tags have numbers?
What is xml handler?
How can I view an xml file?
What is fo file format?
What is an xml template?
Write a program that shows the elements of the stylesheets?
Do people still use xslt?
What is excel xml map?