Differences Between XML and HTML

Answers were Sorted based on User's Feedback



Differences Between XML and HTML..

Answer / muralimohan

HTML is used to create the webpages means display the data.

But

XML is not like HTML. It is used to store and carrying the
data.

Is This Answer Correct ?    15 Yes 1 No

Differences Between XML and HTML..

Answer / guest

XML
HTML
User definable tags
Defined set of tags designed for web display
Content driven
Format driven
End tags required for well formed documents
End tags not required
Quotes required around attributes values
Quotes not required
Slash required in empty tags
Slash not required

Is This Answer Correct ?    16 Yes 6 No

Differences Between XML and HTML..

Answer / anshul

XML and HTML are different and they both have different
goals. They are designed for different purposes. Some people
think that xml is an advanced version of html and it has
come to replace html. It is not the case. Both will be there
as they are used for different purposes.

Is This Answer Correct ?    10 Yes 5 No

Differences Between XML and HTML..

Answer / pratibha

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!

Is This Answer Correct ?    5 Yes 0 No

Differences Between XML and HTML..

Answer / shashank

Xml = eXtensible Markup Language
Html = Hyper Text Markup Language

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More HTML DHTML Interview Questions

Are html5 tags case sensitive?

0 Answers  


What are the limits of the text field size?

0 Answers  


What is the difference between active link and normal link in html?

0 Answers  


What is ol tag?

0 Answers  


What is the sessionstorage object in html5?

0 Answers  






< h2 > What is the difference between < div > and < frame > ?< /h2 >

0 Answers  


What are the different ways to use different colors for different links or same link?

0 Answers  


How do I make a frame with a vertical scrollbar but without a horizontal scrollbar?

0 Answers  


How do you create text on a webpage that allows you to send an email when clicked?

0 Answers  


What is initial scale?

0 Answers  


What does id mean in html?

0 Answers  


Can I nest tables within tables?

0 Answers  


Categories