Multiple Choice
Case 2-2
Rosalind wants to add attribute declarations to her DTD, and she turns to you for information about the possible attribute types.
-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
Correct Answer:
Verified
Q26: The _ content model is reserved for
Q27: An attribute declared as a(n)_ token must
Q41: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TBX9153/.jpg" alt=" The DOCTYPE
Q41: Any attribute that has been declared by
Q45: An attribute declared using the <u>NAME</u> token
Q46: Attribute-list declarations can be located anywhere within
Q47: Case 2-2<br>Rosalind wants to add attribute declarations
Q59: To test for validity, an XML parser
Q88: One way to create a valid document
Q93: Attribute values do not allow you to