| (1)HTML is mainly concern with displaying information on other hand XML is about describing information.
(2)HTML is called as a presentation language on other side XML is not a programming language nor a presentation language. It is used to transfer data between applications and databases.
(3)HTML is not case-sensitive on ther side XML is case-sensitive.
(4)In XML it is mandatory to close all the open tags but in HTML it is not required.
(5)XML was designed to describe data and to focus on what data is. HTML was designed to display data and to focus on how data looks .
(6)White Spaces is preserved in XML files as compare to HTML.
(7) In XML data is stores in separate file on other side HTMLstores inside the files.
(8)To do some formatting realted to text and display in HTML we use CSS but in XML we use XSL. | | |