What is a difference between the XML and HTML data formats?
- XML formats data in binary whereas HTML formats data in plain text.
- XML does not use predefined tags whereas HTML does use predefined tags.
- XML does not require indentation for each key/value pair but HTML does require indentation.
- XML encloses data within a pair of tags whereas HTML uses a pair of quotation makes to enclose data.
Answers Explanation & Hints:
XML is a human readable data structure used to store, transfer, and read data by applications. Like HTML, XML uses a related set of tags to enclose data. However, unlike HTML, XML uses no predefined tags or document structure.