<answer>
Answer to a Question
The correct answer to a question.
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
Content Model
<!ELEMENT answer %answer-model; >
Expanded Content Model
((object-id)*, label?, title?, subtitle*, alt-title*, ((sec)+ | ((address | alternatives | answer | answer-set | array | block-alternatives | boxed-text | chem-struct-wrap | code | fig | fig-group | graphic | media | preformat | question | question-wrap | question-wrap-group | supplementary-material | table-wrap | table-wrap-group | disp-formula | disp-formula-group | def-list | list | tex-math | mml:math | p | related-article | related-object | disp-quote | speech | statement | verse-group)+, (sec)*)), (fn-group | glossary | ref-list)*, explanation*)
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:
- <address> Address/Contact Information
- <alternatives> Alternatives For Processing
- <answer> Answer to a Question
- <answer-set> Answer Set
- <array> Array (Simple Tabulation)
- <block-alternatives> Block-level Alternatives
- <boxed-text> Boxed Text
- <chem-struct-wrap> Chemical Structure Wrapper
- <code> Code
- <fig> Figure
- <fig-group> Figure Group
- <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
- <table-wrap-group> Table Wrapper Group
- <disp-formula> Formula, Display
- <disp-formula-group> Formula, Display Group
- Lists
- Math Elements
- <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
This element may be contained in:
Example 1
True/False style question, tagged as an answer:
...
<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>
...
Example 2
A “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>
...