Difference between XML and HTML?

Answer Posted / sneha joshi

XML is not a replacement for HTML. XML and HTML were designed with different
goals:
• XML was designed to transport and store data, with focus on what data is.
• HTML was designed to display data, with focus on how data looks.
HTML is about displaying information, while XML is about carrying information.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the special characters in xml ?

508


What is xpath expression?

420


Explain about core validation?

521


What is rss feed url?

437


In What case you are not going to use XML?

576






What is xml handler?

455


What is a xml parser?

474


What are the parts in which template gets defined?

496


What is sgml and xml?

470


What is xsl in xml?

462


What is the difference between wsdl and soap?

464


In what scenarios will you use a dom parser and sax parser ?

521


Explain the purpose of XSLT in XML?

521


Can I use qualified names in dtds?

509


What is the difference between a podcast and a rss?

440