Both are markup languages, which represents text data in proper format using tags.
HTML:
It was designed to display data.
It is written in pre-defined tag elements.
It is case insensitive.
It is used for designing a web page to be rendered on client side.
It does not preserve white space.
XML:
I was designed to store data.
It is user defined tag elements.
It is case sensitive.
It is used to transport data between the application and database.
It does.
|