What is the difference between XML and HTML?

XML – Extensible Markup Language and HTML – Hypertext Markup Language. What is the difference between two?

Nitika
Views: 1052 | Community Opinion: 2

Tags..  Markup Language  XML  HTML  Tech Interview

Bookmark this page..



Ask a New Question Go to Home

Community Opinion/Answers
 

Main Difference between XML and HTML

XML was designed to carry data.

XML is not a replacement for HTML.

XML and HTML were designed with different goals:

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.

HTML is about displaying information, while XML is about describing information.




sarala Said..

xml stands for extensible markup language

Html stands for Hypertext markup language

xml uses predefined tags






What do you think? Add your opinion/answer
*Name
*your opinion/answer: