Difference between XML and HTML?

Answer Posted / asisha begum

1.In XML, Data is stored in separate XML files but in HTML,
it is stored inside the files.
2.White Spaces is preserved in XML files.
3.HTML is predefined Language. XML is user defined language.
4.To display HTML, we used CSS.In XML, we used XSL.
5.XML is used to describe data and to focus on what data is
but HTML is designed to display data and to focus on how
data looks.

Is This Answer Correct ?    77 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I add a rss feed?

442


How are web feeds read?

458


What are the components of xml?

450


What is atom 1.0 standard?

472


describe the role of xpath?

475






How do I make a pdf into a picture?

443


Why do people use xml?

526


What is the difference between html and xml?

450


Is xml html?

475


How do I override an xml namespace declaration that uses a prefix?

471


Why is xslt used?

469


What do I open xml with?

429


What is an xml map?

475


Where is xslt used?

430


Do the default values of xmlns attributes declared in the dtd apply to the dtd?

494