We all learned about XML. So,
What is XML?
XML is a file extension for an Extensible Markup Language(XML) file format used to create common information formats and share both the format and the data on the World Wide Web, intranets and elsewhere using standard ASCII text.
What are the comparisons between XML and HTML(HyperText Markup Language)?
XML is similar to HTML. Both XML and HTML contain markup symbols to describe the contents of a page or file. HTML, however, describes the content of a Web page (mainly text and graphic images) only in terms of how it is to be displayed and interacted with. For example, the letter "p" placed within markup tags starts a new paragraph.
XML describes the content in terms of what data is being described. For example, the word "phonenum" placed within markup tags could indicate that the data that followed was a phone number. An XML file can be processed purely as data by a program or it can be stored with similar data on another computer or it can be displayed, like an HTML file. For example, depending on how the application in the receiving computer wanted to handle the phone number, it could be stored, displayed, or dialed.
XML is considered extensible because, unlike HTML, the markup symbols are unlimited and self-defining. XML is a simpler and easier-to-use subset of the Standard Generalized Markup Language (SGML) standard for how to create a document structure. It is expected that HTML and XML will be used together in many Web applications. XML markup, for example, may appear within an HTML page.
Definition:
- Markup is the characters and codes that change a text document into an XML or other Markup Language document. This includes the < and > characters as well as the elements and attributes of a document.
- Nesting is placing one element inside another. When two tags are opened, they must be closed in the reverse order.
- Parent is an XML element that contains another element.
- Tag is the markup characters that indicate the start or end of an element - but not the element content itself.
















