Answer Posted / lak
1.HTML was designed to display data with focus on how data looks while XML was designed to be a software and hardware independent tool used to transport and store data, with focus on what data is.
2.HTML is a markup language itself while XML provides a framework for defining markup languages.
3.HTML is a presentation language while XML is neither a programming language nor a presentation language.
4.HTML is case insensitive while XML is case sensitive.
5.HTML is used for designing a web-page to be rendered on the client side while XML is used basically to transport data between the application and the database.
6.HTML has it own predefined tags while what makes XML flexible is that custom tags can be defined and the tags are invented by the author of the XML document.
7.HTML is not strict if the user does not use the closing tags but XML makes it mandatory for the user the close each tag that has been used.
8.HTML does not preserve white space while XML does.
9.HTML is about displaying data,hence static but XML is about carrying information,hence dynamic.
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Is xsl and xslt the same?
What is difference between xml and xsd?
What is an xml namespace?
What is rss (really simple syndication)?
How do xsd files work?
Why is xml preferred over html?
What is xsi type?
how can I handle embedded html in my xml ?
I Read xml is used to store and transfer data can you explain it with sample code for storing and displaying data.
What is SAX?
What is the use of xslt
What is the difference between xml and excel?
What is the difference between xsl and css?
How do I run an xsl file in eclipse?
what is difference between mail sendig in .net 1.1 and .net 2.0