HTML is a subset of
A. SGMD
B. SGML
C. SGMH
D. None of the above
Answer: Option B
Solution (By Examveda Team)
SGML (Standard Generalized Markup Language) is a standard for defining generalized markup languages for documents. It provides a framework within which one can create specific markup languages, such as HTML. HTML (Hypertext Markup Language) is a specific application of SGML designed for creating web pages and web applications.SGML serves as a meta-language, meaning it is a language used to define other languages. It allows for the definition of document structures and rules for encoding information. HTML, as a "subset" of SGML, adopts and implements these rules but is specifically tailored for the web. "SGML" itself is very flexible and powerful but also complex, which is why HTML was created to simplify the process of creating web documents.
In essence, HTML is built upon the principles and structures laid out by SGML, making it a subset of SGML. This means that while HTML uses a simplified set of rules derived from SGML, it does not encompass all of the complexity and flexibility that SGML offers.
Choose the correct statement of HTML
A. In traditional XHTML close tag for some elements is optional but not encouraged
B. In traditional HTML close tag for some elements is optional but not encouraged
C. None of the mentioned
D. In both traditional XHTML and HTML close tag for some elements is optional
Which of the following is not a difference between HTML and XHTML
A. Charset in html is “text/html” where as in xhtml it is “application/xml+xhtml”
B. None of the mentioned
C. Tags and attributes are case-insensitive in HTML but not in XHTML
D. Special characters must be escaped using character entities in XHTML unlike HTML
What indicates the content in file is HTML when delivered on the network.
A. The extension of the file “.html”
B. The “content-type” header
C. Both “.html” extension and “content-type” header
D. None of the mentioned

Join The Discussion