ASP.NET,C#.NET,VB.NET,JQuery,JavaScript,Gridview,SQL Server,Ajax,jQuery Plugins,jQuery UI,SSRS,XML,HTML,jQuery demos,code snippet examples.

Breaking News

  1. Home
  2. HTML
  3. XML
  4. Difference between HTML and XML

Difference between HTML and XML

The characteristics of XML and HTML files are different. XML was developed to describe data and HTML was developed to display data. This article describes a comparison between HTML and XML.  The difference between XML and HTML is given bellow:
HTML
  1. Its full meaning is Hyper Text Markup Language.
  2. It is a markup language and written in predefined tags.
  3. Its primary purpose is to display data.
  4. Developers can’t write customize tags.
  5. It is invented in 1990.
  6. It is not case sensitive.
  7. It is static.
  8. It is a presentation type language.
  9. It can’t preserve white space.
  10. It is not strict if the user does not use the closing tags.
XML
  1. Its full meaning is Extensible Markup Language.
  2. It is a markup language and written in customize tags.
  3. Its’ primary purpose is to transport and store data.
  4. Developers can write customize tags.
  5. It is invented in 1996.
  6. It is case sensitive.
  7. It is dynamic.
  8. It is neither a programming language not a presentation language. We can call it meta-language or a language that can be used to define other languages.
  9. It can preserves white space.
  10. It is strict and we need to close each tag that has been used.
That’s all about HTML VS XML.

No comments