Which of the following statements regarding XML is/are True ?
(A) XML is a set of tags designed to tell browsers how to display text and images in a web page.
(B) XML defines a syntax for representing data. but the meaning of data varies from application to application
(C) < Letter >, < LETTER > and < letter > are three different tags in XML.
Choose the correct answer from the options given below:
Solution
The correct answer is option 3.
Key Points
- XML was created with the aim of transporting data, with an emphasis on what data is.
- HTML was developed with the intention of presenting data with an emphasis on how it appears.
Statement A: FALSE:
HTML is a collection of tags that tell web browsers how to view text and images on a website.
Statement B: TRUE
While XML specifies a syntax for representing data, the meaning of data varies by application.
Statement C: TRUE
XML is case sensitive and hence < Letter >, < LETTER > and < letter > are three different tags in XML.
∴ Hence the correct answer is (B) and (C) only.