Home » Ask & Discuss » Other Courses » Computer Applications « Back to Discussion



Computer Applications

ravi's Avatar
New kid on the Block

Joined: 18 Sep 2008
Post: 28
16 Dec 2008 11:39:09 IST
0 People liked this
2
464 View Post
what is the differences between xml & Html?
None

what is the differences between xml & Html?


Share this article on:

Comments (2)

Ankit 's Avatar

Blazing goIITian

Joined: 17 Oct 2007
Posts: 1659
16 Dec 2008 11:50:23 IST
2 people liked this

XML-Extended Markup Language


HTML-hyper text mark up language 


 


XML files are meant to hold data and data in an xml file is well described. If you look at an xml file you can say what it holds. For example if you find a number in an xml file you can find out easily what that number identifies, whether it is the number of products, or the price of a product etc. In html it is not the case.

HTML is used to display the data in a formatted way. You can apply styles and use different layouts to display the data in an html file. The data that is displayed in an html file could come from an xml file.


So to say in simple words, html displays the data and xml holds the data!


Sagar Saxena's Avatar

Forum Expert
Joined: 8 Oct 2008
Posts: 7221
16 Dec 2008 12:42:18 IST
2 people liked this

























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.



 


 






























XML tags are not predefined. You must "invent" your own tags.


 

The tags used to mark up HTML documents and the structures of HTML documents are predefined. The author of HTML documents can only use tags that are defined in the HTML standard (like , etc.).


 

XML allows the author to define his own tags and his own document structure.


 

The tags in the example above (like and ) are not defined in any XML standard. These tags are "invented" by the author of the XML document.


 



Quick Reply


Reply

Some HTML allowed.
Keep your comments above the belt or risk having them deleted.
Signup for a avatar to have your pictures show up by your comment
If Members see a thread that violates the Posting Rules, bring it to the attention of the Moderator Team
Free Sign Up!

Preparing for IIT-JEE ?

Arihant Revision Package for IIT JEE - Books, Practice Tests + Rank Predictor


@ INR 1,995/-

For Quick Info

Name

Mobile No.

Find Posts by Topics

Physics.

Topics

Mathematics.

Chemistry.

Biology

Parents

Board

Fun Zone

Sponsored Ads