Rosalind wants to add attribute declarations to her DTD, and she turns to you for information about the possible attribute types.
-Finally, you help Rosalind write the declaration of an attribute named "credits" of an element named "course." This optional attribute should contain character data, and a value of 4 should be used if an attribute value is not specified.Which of the following is an appropriate declaration of this attribute?
A) <!ATTLIST credits course CDATA default="4">
B) <!ATTLIST course credits CDATA default="4">
C) <!ATTLIST credits course CDATA "4">
D) <!ATTLIST course credits CDATA "4">
Correct Answer:
Verified
Q58: The attributes of the attribute value type
Q59: An entity that references content that cannot
Q60: Any attribute that has been declared by
Q61: Rosalind wants to add attribute declarations to
Q62: _ content allows an element to contain
Q64: Rosalind wants to add attribute declarations to
Q65: A(n)_ specifies an element's name and indicates
Q66: The chunks into which a DTD can
Q67: A(n)_ content model is a list of
Q68: DTDs use more general numbering with a(n)_
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents