Difference between XML and HTML?

Answers were Sorted based on User's Feedback



Difference between XML and HTML?..

Answer / manju mujalda

html is static but xml is dynamic
html about displaying information while xml is about
carrying information.

Is This Answer Correct ?    14 Yes 0 No

Difference between XML and HTML?..

Answer / fareedha

1. Html stands for hypertext markup language.
XML stands for eXtensible markup language.
2. Html extension .html,Xml extension .xml.
3. Html is static, Xml is dynamic.
4. Html is case insensitive,Xml is case sensitive.
5. Html used only to format the information.
Xml cannot be formatted at all.
6. Html only defines the data.Xml describes the data.
7. Html properly enclosed tags, each and every starting.
Xml properly enclosed tags, contains one root tag and
more than one sub tag.
8. Html document starts and end with <html> and </html>
tags. Xml document start with <? and end with ?>.
9. In Html, it is stored inside the files.
In Xml, data is stored in separate Xml files.
10.To display Html, we used CSS. In Xml, we used XSL.

Is This Answer Correct ?    12 Yes 1 No

Difference between XML and HTML?..

Answer / kapil

Html was designed to transfer your data in document format
over the internet but it can allow data retrieve in html
compatible application while xml was designed to store and
retrieve the data over multiple applications because it is
platform independent.

Is This Answer Correct ?    7 Yes 2 No

Difference between XML and HTML?..

Answer / manish pal

1. Html stands for hypertext markup language.
XML stands for eXtensible markup language.
2. Html extension .html,Xml extension .xml.
3. Html is static, Xml is dynamic.
4. Html is case insensitive,Xml is case sensitive.
5. Html used only to format the information.
Xml cannot be formatted at all.
6. Html only defines the data.Xml describes the data.
7. Html properly enclosed tags, each and every starting.
Xml properly enclosed tags, contains one root tag and
more than one sub tag.
8. Html document starts and end with <html> and </html>
tags. Xml document start with <? and end with ?>.
9. In Html, it is stored inside the files.
In Xml, data is stored in separate Xml files.
10.To display Html, we used CSS. In Xml, we used XSL.

Is This Answer Correct ?    8 Yes 3 No

Difference between XML and HTML?..

Answer / vasanth.k

HTML follows the predefined format but XML is not follows.
HTML is a not case sensitive but XML is a case sensitive.
HTML allows the improperly nested statements but XML does not follow it..it is proper nested elements..
XML elements must be closed..but HTML is not need..

Is This Answer Correct ?    3 Yes 0 No

Difference between XML and HTML?..

Answer / rajan kumar singh

The difference b/w XML and HTML
1.HTML is not case-sensitive where as XML is case-sensitive
2.HTML focus on how data looks.It display the data.While XML
focus on what data is and it store the data.
3.HTML has pre define Tags And Xml has user define tag.
4.html is use for presentation where xml is use for
transpotation and storage
5.xml is nota replacementfor html

Is This Answer Correct ?    2 Yes 1 No

Difference between XML and HTML?..

Answer / lak

1.HTML was designed to display data with focus on how data looks while XML was designed to be a software and hardware independent tool used to transport and store data, with focus on what data is.

2.HTML is a markup language itself while XML provides a framework for defining markup languages.

3.HTML is a presentation language while XML is neither a programming language nor a presentation language.

4.HTML is case insensitive while XML is case sensitive.

5.HTML is used for designing a web-page to be rendered on the client side while XML is used basically to transport data between the application and the database.

6.HTML has it own predefined tags while what makes XML flexible is that custom tags can be defined and the tags are invented by the author of the XML document.

7.HTML is not strict if the user does not use the closing tags but XML makes it mandatory for the user the close each tag that has been used.

8.HTML does not preserve white space while XML does.

9.HTML is about displaying data,hence static but XML is about carrying information,hence dynamic.

Is This Answer Correct ?    2 Yes 1 No

Difference between XML and HTML?..

Answer / sneha joshi

XML is not a replacement for HTML. XML and HTML were designed with different
goals:
• XML was designed to transport and store data, with focus on what data is.
• HTML was designed to display data, with focus on how data looks.
HTML is about displaying information, while XML is about carrying information.

Is This Answer Correct ?    1 Yes 0 No

Difference between XML and HTML?..

Answer / satya

HTML pages are used to display what the content actually is.
It just displays the data(for example we write code in java
for a JSP page which is considered as a presentation
logic.There HTML forms are used.)
whreas XML stores the data and displays what the data is.It
also shares the data across different applications and
databases.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More XML XSLT RSS Interview Questions

Who founded xslt?

0 Answers  


Can excel open xml files?

0 Answers  


How do I create my own document type?

0 Answers  


What are xml entities used for?

0 Answers  


What is meant by xslt?

0 Answers  






Can I still use server-side inclusions?

0 Answers  


How can I validate an xml document that uses xml namespaces?

0 Answers  


What is targetnamespace?

0 Answers  


Can multiple xml namespace declarations be in scope at the same time?

0 Answers  


What is the difference between xml and xslt?

0 Answers  


Is docx a zip file?

0 Answers  


Why do people use xml?

0 Answers  


Categories