lcTrueFalse
A lcTrueFalse interaction presents the learner with two choices, one
correct, the other incorrect, often presented as true/false or yes/no responses.
Contains
note
These models represent only the default document types distributed by OASIS.
Actual content models will differ with each new document type.
Doctype | Content model |
---|---|
learningAssessment, learningContent, learningOverview, learningPlan, learningSummary | ( (title) (optional) then (lcQuestion) then (lcAsset) (optional) then (lcAnswerOptionGroup) then (lcFeedbackIncorrect) (optional) then (lcFeedbackCorrect) (optional) then (data) (any number) ) |
Contained by
Inheritance
+ topic/fig learningInteractionBase-d/lcInteractionBase learning-d/lcTrueFalse
Example
<!--True - False Interaction --> <lcTrueFalse id="tf1"> <title>True - False sun rising</title> <lcQuestion>On Earth, the sun rises in the West and sets in the East.</lcQuestion> <lcAnswerOptionGroup> <lcAnswerOption> <lcAnswerContent>True</lcAnswerContent> </lcAnswerOption> <lcAnswerOption> <lcAnswerContent>False</lcAnswerContent> <lcCorrectResponse/> </lcAnswerOption> </lcAnswerOptionGroup> <lcFeedbackIncorrect>No, look to the East.</lcFeedbackIncorrect> <lcFeedbackCorrect>Yes, look to the East.</lcFeedbackCorrect> </lcTrueFalse>
Attributes
Name | Description | Data Type | Default Value | Required? |
---|---|---|---|---|
id | Defines an ID by which the element may be referenced. | NMTOKEN | #REQUIRED | Yes |
conref-atts attribute group (conref, conrefend, conaction, conkeyref) | A set of related attributes; includes all of the attributes described in id-atts attribute group except for the id attribute. | |||
select-atts attribute group (props, base, platform, product, audience, otherprops, importance, rev, status) | A set of related attributes, described in select-atts attribute group | |||
localization-atts attribute group (translate, xml:lang, dir) | A set of related attributes, described in localization-atts attribute group. | |||
global-atts attribute group (xtrf, xtrc) | A set of related attributes, described in global-atts attribute group | |||
class, outputclass | Common attributes described in Other common DITA attributes |