◇◆
<answer> Answer to a Question
The correct answer to a question.
Usage/Remarks
Best Practice
The <answer> element is used when there
is only one way to answer the question. If there is more than one way to answer or
if
multiple options are to be presented for the student to choose among, the <option> element should be used.
Questions (<question>) may be associated with their answers (<answer>) using the @pointer-to-question attribute on the <answer>.
Attributes
Multi-lang Attributes
Models and Context
May be contained in
Description
The following, in order:
- <object-id> Object Identifier, zero or more
- <label> Label (of an Equation, Figure, Reference, etc.), zero or one
- <title> Title, zero or one
- <subtitle> Document Subtitle, zero or more
- <alt-title> Alternate Title, zero or more
- Any one of:
- <sec> Section, one or more
- The following, in order:
- One or more of any of:
- <answer> Answer to a Question
- <answer-set> Answer Set
- <boxed-text> Boxed Text
- <chem-struct-wrap> Chemical Structure Wrapper
- <code> Code
- <fig> Figure
- <graphic> Graphic
- <media> Media Object
- <preformat> Preformatted Text
- <question> Question
- <question-wrap> Question Wrapper
- <question-wrap-group> Question Wrapper Group
- <supplementary-material> Supplementary Material Metadata
- <table-wrap> Table Wrapper
- <disp-formula> Formula, Display
- <disp-formula-group> Formula, Display Group
- Lists
- Math Element
- <p> Paragraph
- <related-article> Related Article Information
- <related-object> Related Object Information
- <disp-quote> Quote, Displayed
- <speech> Speech
- <statement> Statement, Formal
- <verse-group> Verse Form for Poetry
- <sec> Section, zero or more
- One or more of any of:
- Any combination of:
- <explanation> Explanation, zero or more
Content Model
<!ELEMENT answer %answer-model; >
Expanded Content Model
((object-id)*, label?, title?, subtitle*, alt-title*, ((sec)+ | ((answer | answer-set | boxed-text | chem-struct-wrap | code | fig | graphic | media | preformat | question | question-wrap | question-wrap-group | supplementary-material | table-wrap | disp-formula | disp-formula-group | def-list | list | mml:math | p | related-article | related-object | disp-quote | speech | statement | verse-group)+, (sec)*)), (glossary | ref-list)*, explanation*)
Tagged Samples
True/False question
...
<sec id="sec45">
...
<question-wrap>
<question id="q2" question-response-type="true-false">
<p>Peregrine White was the first English
child born in North America.</p>
<answer pointer-to-question="q2" id="ans2">
<p>False</p></answer>
</question>
<explanation pointer-to-explained="ans2">
<p>The first English child born in North America was
Virginia Dare. She was born in August 1587, in the
short-lived colony of Roanoke. Although the settlement
was later abandoned and the fate of its inhabitants a
mystery, records brought to England by her grandfather,
the governor of the colony, later in 1587 note her birth
and baptism. Born in November 1620, Peregrine White
was the first child born in the Plymouth colony.</p>
</explanation>
</question-wrap>
</sec>
...
“short-answer” question
...
<question-wrap>
<question id="q3" question-response-type="short-answer">
<label>3</label>
<p>Who is considered the “Father of the United States Constitution”?</p>
<answer pointer-to-question="q3" id="ans3"><p>James Madison</p></answer>
</question>
<explanation pointer-to-explained="ans3">
<p>James Madison played a critical role in the ratification
of the United States Constitution by authoring essays (now considered part
of the <italic>Federalist Papers</italic>) in support of the
new United States Constitution’s adoption. In addition, Madison
authored the first amendments to the United States Constitution guaranteeing
individual rights; these amendments are called the “Bill
of Rights”.</p>
</explanation>
</question-wrap>
...