DITA Resource Center

<lcTrueFalse2>

A <lcTrueFalse2> interaction presents the learner with two choices, one correct, the other incorrect, often presented as true/false or yes/no responses. This element replaces the <lcTrueFalse> element in DITA 1.2.

Content models

See appendix for information about this element in OASIS document type shells.

Inheritance

+ topic/div learningInteractionBase2-d/lcInteractionBase2 learning2-d/lcTrueFalse2

Example

   <!--True - False Interaction                    -->
   <lcTrueFalse2>
    <lcInteractionLabel2>True - False sun rising</lcInteractionLabel2>
    <lcQuestion2>On Earth, the sun rises in the West and sets in the East.</lcQuestion2>
    <lcAnswerOptionGroup2>
     <lcAnswerOption2>
      <lcAnswerContent2>True</lcAnswerContent2>
     </lcAnswerOption2>
     <lcAnswerOption2>
      <lcAnswerContent2>False</lcAnswerContent2>
      <lcCorrectResponse2/>
     </lcAnswerOption2>
    </lcAnswerOptionGroup2>
    <lcFeedbackIncorrect2>No, look to the East.</lcFeedbackIncorrect2>
    <lcFeedbackCorrect2>Yes, look to the East.</lcFeedbackCorrect2>
   </lcTrueFalse2>
  

Attributes

The following attributes are available on this element: Universal attribute group and @outputclass.

Was this page helpful?