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?
- A.
It is derived from SGML
- B.
It describes content and layout
- C.
It allows user defined tags
- 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.