Monday , 17 December 2018
Home » Computers » What is the difference between HTML and XML?

What is the difference between HTML and XML?

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.What is the difference between HTML and XML?

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 LanguageXML 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 sideXML 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 tagsXML makes it mandatory for the user the close each tag that has been used
HTML does not preserve white spaceXML 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 looksXML was designed to describe data and to focus on what data is.

About Rajeel

I'm Rajeel, a teen blogger from India who loves computers, sports, internet and all other kind of tech stuffs. This blog thing is one of my favourite hobby and the one that eats up much of my time. But Really, I'm loving it :) Find me in G+

Leave a Reply

Your email address will not be published. Required fields are marked *


Scroll To Top