Home » HTML » Html miscellaneous » Question
  1. The ___________ keyword begins the declaration of attributes that an element may take. It is followed by the name of the element in question, a list of attribute definitions, and a closing.
    1. ATTLIST
    2. SGML
    3. DOCTYPE
    4. DTD
    5. None of these
Correct Option: C

The ATTLIST declarations identify which element types may have attributes, what type of attributes they may be, and what the default value of the attributes are. The DTD defines the syntax of markup constructs. The DTD may include additional definitions such as character entity references. SGML (Standard Generalized Markup Language) is a standard for how to specify a document markup language or tag set. In HTML 4.01, the !DOCTYPE declaration refers to a DTD, because HTML 4.01 was based on SGML. The DTD specifies the rules for the markup language so that the browsers render the content correctly.



Your comments will be displayed only after manual approval.