GATE | Gate IT 2008 | Question 18

Which of the following is TRUE only of 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


Answer: (C)

Explanation: SGML (standard generalized markup language)
both xml and html are derivative of SGML

Both xml and html describes layout and content

both are restricted to be used with web browsers

xml allows user defined tags but HTML-4 does not

Quiz of this Question

My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.