Difference between HTML and XML
Following are the differences between HTML and XML:
HTML |
XML |
HTML have pre-defined tags which is used to display data and shows how data looks. |
XML is a software and hardware independent tool which is used to transport and store data. |
It is a markup language. |
It provide framework for defining markup languages. |
It is case-insensitive. |
It is case-sensitive. |
It has its own predefined tags. |
User define code according to their need. |
In HTML it is not mandatory to use a closing tags. |
In XML it is mandatory to use a closing tags. |
It is static because it is used to display data. |
It is dynamic because it is used to transport data. |