Which of the following is TRUE only for XML but NOT HTML?

2016

Which of the following is TRUE only for XML but NOT HTML?

  1. A.

    It is derived from SGML

  2. B.

    It describes content and layout

  3. C.

    It allows user defined tags

  4. D.

    It is restricted only to be used with web browsers

Attempted by 96 students.

Show answer & explanation

Correct answer: C

XML allows users to define their own custom tags, whereas HTML uses a predefined set of tags. Both are derived from SGML, but XML focuses on data structure rather than presentation. Therefore, the ability to use user-defined tags is unique to XML in this context.

Explore the full course: Isro