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 long does it take for rss feed to update?

621


How do I create an xml schema?

644


How do I configure an xpointer processor?

674


What is XSL template? What output this XSL template will produce given a particular xml file?

606


How do I run an xslt file?

624






What is dom parsing?

618


Can you use css and html together?

607


What about non-xml resources?

714


Explain the used of the xml prolog section.

655


Is feedburner still active?

612


Do I need to use xml namespaces?

663


What is xsd and wsdl?

599


What is rss (really simple syndication)?

591


Where is xslt used?

596


What is attribute in xml?

621