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

Are you ready to relocate? : xslt

628


Define cdata?

647


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

682


What is difference between xml and xsd?

623


How is xml extensible?

657


What happens about the presence of the top-level element?

660


I have to do an overview of xml for my manager/client/investor/advisor. What should I mention?

842


How is xsl used for xml?

687


Is xml used today?

616


What is the difference between html and xml?

619


What is the use of xslt element?

691


Can I use xml as database?

645


What is the difference between a podcast and a rss?

634


What is atom in rss?

643


Is dtd better than xml?

627