HTML (Hyper text mark-up language) is the basic language used for web-designing Basically, it provides a layout or structure in which documents can be created on the web. It is able to do this by providing structural semantics for all the parts of a document. Although there are many other languages that are used on the Internet, HTML is still the common and simplest language. It was created by Tim Bernesly created it in the 80’s and is the oldest language used in web designing.
XML (Extensible mark-up language) is another language used in web-designing. It Provides a foundation for creating documents and document systems. XML operates on two main levels: It provides syntax for document markup and also it provides syntax for declaring the structures of documents. Users who have worked with HTML before should be able to learn the basics of XML without too much difficulty. XML’s simplicity is its key selling point, perhaps even its strongest feature. Many sites today are powered by xml and all the blogspot blogs are powered by xml.
What is the difference between HTML and XML?
Although names are some what similar, there are many difference between HTML and XML. Here some of them are listed
|HTMLstands for Hypertext Markup Language||XML stands for Extensible Markup Language|
|HTML has some predefined tags with some predefined meaning.||XML has no tags. custom tags can be defined and the tags are invented by the author of the XML document|
|HTML is used for designing a web-page to be rendered on the client side||XML is used basically to transport data between the application and the database.|
|HTML is case insensitive||XML is case sensitive.|
|HTML is not strict if the user does not use the closing tags||XML makes it mandatory for the user the close each tag that has been used|
|HTML does not preserve white space||XML preserve white space|
|HTML is a markup language itself||XML provides a framework for defining markup languages.|
|HTML only defines the data.||XML describes the data|
|HTML is a presentation language||XML is neither a programming language nor a presentation language.|
|HTML was designed to display data and to focus on how data looks||XML was designed to describe data and to focus on what data is.|