XML Full Form: Extensible Markup Language
XML Full Form is Extensible Markup Language. It is a markup language like HTML, which is used to define data in a given set of rules for encoding in a specific format so that it can be read by humans as well as the machine.
Key Points of XML
- It stands for Extensible Markup Language
- Up to some extent, it is similar to HTML
- It helps to store and transport data in a human and machine-readable format.
- It is developed by W3C (World Wide Web Consortium)
What does XML do?
Generally, XML does nothing it is a format to store and transport data, with the help of user-defined tags.
<mail> <to>SAM</to> <from>Jhon</from> <subject>Meeting</subject> <message>Meet me this weekend </message> </mail>
Difference Between XML and HTML
|XML is used to transport and store data||HTML is used to display data|
|XML does not have pre-defined tags||HTML has predefined tags|
|XML tags are case sensitive||HTML tags are not case sensitive|
|XML throw error if there is an error in the code||HTML does not throw an error|
Predefined Tags in XML
Unlike HTML XML does not use predefined tags, for example, we have tag like <form>, <p> <h1>, etc. in HTML and each tag has its own characteristic, but in XML we do not have pre-defined tags so we make our own tags and provide a proper structure to our data.
Benefits of XML
- It makes data sharing easy
- XML data can be easily read by human as well as machine
- It simplifies the data transport
- It makes data availability easy
- It is platform Independent.
Various systems may have different data formats, exchanging data between these incompatible systems could be solved using XML.
|Full-Form||Extensible Markup Language|
|Use||To transport and store data|
|Developed by||World Wide Web Consortium|
You might be interested in: