Multiple choice xhtml

Which of the statments are true?

  1. XHTML and SGML are both subsets of HTML

  2. XHTML is a subset of SGML

  3. SGML is a subset of XHTML

  4. SGML is a simplified version of XHTML

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

XHTML is defined as a subset of SGML (Standard Generalized Markup Language), just as HTML is. SGML is the parent meta-language from which both HTML and XHTML derive their rules. Option A is incorrect because HTML and XHTML are subsets of SGML, not the reverse.