Difference between XML and HTML?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
How do I convert an xml file to pdf?
How do I subscribe to an rss feed?
Is xml schema required?
How do I add an rss feed to my yahoo account?
What is xsl text?
What is a Processing Instruction in XML?
Explain about xml data binding?
How use xml data in excel?
What is an xml template?
What is a xpath query?
What is an xml document?
What does xsd mean?