Javatpoint Logo
Javatpoint Logo

HTML vs XML

There are many differences between HTML (Hyper Text Markup Language) and XML (eXtensible Markup Language). The important differences are given below:

No.HTMLXML
1)HTML is used to display data and focuses on how data looks.XML is a software and hardware independent tool used to transport and store data. It focuses on what data is.
2)HTML is a markup language itself.XML provides a framework to define markup languages.
3)HTML is not case sensitive.XML is case sensitive.
4)HTML is a presentation language.XML is neither a presentation language nor a programming language.
5)HTML has its own predefined tags.You can define tags according to your need.
6)In HTML, it is not necessary to use a closing tag.XML makes it mandatory to use a closing tag.
7)HTML is static because it is used to display data.XML is dynamic because it is used to transport data.
8)HTML does not preserve whitespaces.XML preserve whitespaces.
Next TopicXML Example




Help Others, Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA