A lcTrueFalse interaction presents the learner with two choices, one correct, the other incorrect, often presented as true/false or yes/no responses.
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) ) |
<!--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>
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 |
Return to main page.
DITA v1.2 CD 04
Copyright © OASIS Open 2005, 2010. All Rights Reserved.