Answer Posted / 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 |
Post New Answer View All Answers
Can a div have 2 classes?
What is manifest file in html5?
Why doctype is important in html?
Is html is a scripting language?
How do you add a keyword in word?
List the media types and formats supported by html ?
What is d full meaning of url?
Is html case sensitive?
If I do not put will HTML 5 work?
Is it possible to list elements straight in an html file?
What is a tag for a website?
What do you mean by tables?
If I do not put will HTML 5 work?
What is the hierarchy that is being followed when it comes to style sheets?
What is a frameset?