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 is xsl template match?

452


How does an rss feed work?

456


What is xpath expression?

414


Is xml relational?

498


What is the difference between CDATA and PCDATA?

505






What is text () in xpath?

450


How do I convert xml to pdf?

446


Why is dtd important?

448


What is metadata in excel?

474


Can I use an attribute default in a dtd to declare an xml namespace?

503


What is the difference between versions 1.0 and 1.1 of the xml namspaces recommendation?

483


How we compare xslt and xpath? : xslt

446


What is xsi type?

444


How are documents accessed and manipulated in xml?

457


What is an xml product feed?

473