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 can I make my existing html files work in xml?

475


Why namespace is used in xml?

473


Why is xml used?

451


What is meant by wsdl?

454


Are xml tags case sensitive?

462






Does the scope of an xml namespace declaration include the element it is declared on?

455


How do I remove rss feeds from outlook 365?

444


What are the elements of wsdl?

467


What is XmlReader class? Explain.

475


Can xml files be viewed in browsers?

470


What are xml attributes?

441


Where is pom xml?

436


Can you use the XSLT to convert html into VXML?

553


How do you view an xml file?

464


What is the mime type definition for atom files?

428