Behavior - Highlight

The highlightColor class can be used for pre-highlighting text in a passage, example: <span id="a" class="highlightColor">some text</span>. Note that the highlightColor is used with the span element. The highlightColor class MUST be used with the span element for contrast color changes to be honored.

Get Responses:[ Click Get Responses ]
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<assessmentItem xmlns="http://www.imsglobal.org/xsd/imsqti_v2p1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
adaptive="false" identifier="Behavior-highlight"  timeDependent="false" title="Highlight"
xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p1 http://www.imsglobal.org/xsd/imsqti_v2p1.xsd">
  <responseDeclaration baseType="identifier" cardinality="single" identifier="RESPONSE">
    <correctResponse>
      <value>B</value>
    </correctResponse>
  </responseDeclaration>
  <outcomeDeclaration baseType="integer" cardinality="single" identifier="SCORE">
    <defaultValue>
      <value>0</value>
    </defaultValue>
  </outcomeDeclaration>
  <itemBody>
    <div class="row">
      <div class="span6">
        <div class="stimulus">
          <p>Read the following passage. Then read each question
          and choose the best answer.</p>
          <div class="passage-scrolling">
            <p>Four score and seven years ago our fathers brought forth
            on this continent a new nation, conceived in liberty, and
            dedicated to the proposition that <span class="highlightColor" id="sks-a1">all are created equal.</span></p>

            <p>Now we are engaged in a great civil war, testing whether that
            nation, or any nation so conceived and so dedicated, can long endure.
            We are met on a great battlefield of that war. We have come
            to dedicate a portion of that field, as a final resting place for those
            who here gave their lives that that nation might live.
            It is altogether fitting and proper that we should do this.</p>

            <p>But, in a larger sense, we can not dedicate, we can not consecrate,
            we can not hallow this ground. The brave men, living and dead,
            who struggled here, have consecrated it, far above our poor power
            to add or detract. The world will little note, nor long remember what
            we say here, but it can never forget what they did here. It is for us
            the living, rather, to be dedicated here to the unfinished work
            which they who fought here have thus far so nobly advanced.

            It is rather for us to be here dedicated to the great task remaining
            before us — that from these honored dead we take increased devotion
            to that cause for which they gave the last full measure of devotion
            — that we here highly resolve that <span id="sks-a3">these dead shall
            not have died in vain</span>—that this nation, under God, shall have
            <span class="highlightColor" id="sks4">a new birth of freedom</span>
            — and that government of the people, by the people, for the people,
            shall not perish from the earth.</p>
          </div>
        </div>
      </div>
      <div class="span6">
        <div class="stem">
          <p>Please read the passage in the scrolling widget to the left, then tell us if...</p>
        </div>
        <div class="whitebg pad8">
          <choiceInteraction class="behavior-highlight-sks-a1,sks-a3,sks4" maxChoices="1" responseIdentifier="RESPONSE">
            <simpleChoice identifier="A">
              <p>Iowa Weather Forecast : Boiling Hot, Stormy, Freezing Cold, Snowy.</p>
            </simpleChoice>
            <simpleChoice identifier="B">
              <p>Rainbows should contain pink!</p>
            </simpleChoice>
            <simpleChoice identifier="C">
              <p>There are really not enough interjections in the English language.</p>
            </simpleChoice>
            <simpleChoice identifier="D">
              <p>These are ridiculous answer choices.</p>
            </simpleChoice>
          </choiceInteraction>
        </div>
      </div>
    </div>
  </itemBody>
  <responseProcessing>
    <responseCondition>
      <responseIf>
        <match>
          <variable identifier="RESPONSE" />
          <correct identifier="RESPONSE" />
        </match>
        <setOutcomeValue identifier="SCORE">
          <baseValue baseType="integer">1</baseValue>
        </setOutcomeValue>
      </responseIf>
      <responseElse>
        <setOutcomeValue identifier="SCORE">
          <baseValue baseType="integer">0</baseValue>
        </setOutcomeValue>
      </responseElse>
    </responseCondition>
  </responseProcessing>
</assessmentItem>

Read the following passage. Then read each question and choose the best answer.

Four score and seven years ago our fathers brought forth on this continent a new nation, conceived in liberty, and dedicated to the proposition that all are created equal.

Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived and so dedicated, can long endure. We are met on a great battlefield of that war. We have come to dedicate a portion of that field, as a final resting place for those who here gave their lives that that nation might live. It is altogether fitting and proper that we should do this.

But, in a larger sense, we can not dedicate, we can not consecrate, we can not hallow this ground. The brave men, living and dead, who struggled here, have consecrated it, far above our poor power to add or detract. The world will little note, nor long remember what we say here, but it can never forget what they did here. It is for us the living, rather, to be dedicated here to the unfinished work which they who fought here have thus far so nobly advanced. It is rather for us to be here dedicated to the great task remaining before us — that from these honored dead we take increased devotion to that cause for which they gave the last full measure of devotion — that we here highly resolve that these dead shall not have died in vain—that this nation, under God, shall have a new birth of freedom — and that government of the people, by the people, for the people, shall not perish from the earth.

The three highlighted sentences, triggered by the Item Behavior, show ...