GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Programming  >  XML
Go To First  |  Previous Question  |  Next Question 
 XML  |  Question 35 of 39    Print  
Difference between XML and HTML
Write five difference between XML and HTML


  
Total Answers and Comments: 5 Last Update: February 26, 2009     Asked by: navin1972 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: rajadurai24
 

1) XML is not a replacement for HTML.
2) XML and HTML were designed with different goals.
3) XML was designed to describe data and to focus on what data is.
4) HTML was designed to display data and to focus on how data looks.
5) HTML is about displaying information, XML is about describing information



Above answer was rated as good by the following members:
Goblet
April 17, 2008 10:42:53   #1  
shammy240 Member Since: April 2008   Contribution: 1    

Difference between XML and HTML
HTML is static and XML is dynamic.
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
May 02, 2008 14:20:27   #2  
kishchilukuri Member Since: April 2008   Contribution: 17    

RE: Difference between XML and HTML
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 useful? Yes | No
May 12, 2008 11:09:57   #3  
vijayvneelar Member Since: May 2008   Contribution: 1    

RE: Difference between XML and HTML
XML

XML stands for Extensible Markup Language
• XML is a markup language much like HTML
• XML was designed to carry data
• XML tags are not predefined.
• XML is designed to be self-descriptive.
• XML is a W3C Recommendation

HTML

HTML - short for Hypertext Markup Language
It provides a means to describe the structure of text-based information in a document by denoting certain text as headings paragraphs lists and to supplement that text with interactive forms embedded images and other objects.

• Publish online documents with headings text tables lists photos
• Retrieve online information via hypertext links at the click of a button.
• Design forms for conducting transactions with remote services for use in searching for information making reservations ordering products.

• Include spread-sheets video clips sound clips and other applications directly in their documents.

 
Is this answer useful? Yes | No
October 04, 2008 00:05:57   #4  
ptharak Member Since: October 2008   Contribution: 6    

RE: Difference between XML and HTML
HTML is Presentation Language it is not case sensitive every tag need not have an ending tag we cannot write our own Tags.

In XML Every tag must have an ending tag We can write our own tags It is case sensitive.

 
Is this answer useful? Yes | No
February 26, 2009 05:55:17   #5  
rajadurai24 Member Since: February 2009   Contribution: 7    

RE: Difference between XML and HTML

1) XML is not a replacement for HTML.

2) XML and HTML were designed with different goals.

3) XML was designed to describe data and to focus on what data is.

4) HTML was designed to display data and to focus on how data looks.

5) HTML is about displaying information XML is about describing information


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape