correct
Correct Option Flag
Marks a multiple-choice option as correct or incorrect.
Used on Element: <option>
Value | Meaning |
---|---|
no | This answer is incorrect. |
yes | This answer is correct. |
Restriction | @correct is an optional attribute; there is no default. |
Example
... <question id="q2" question-response-type="multiple-choice"> <p>Where was the first permanent English settlement in the New World?</p> <option correct="no"> <label>A</label> <p>Plymouth</p> </option> <option correct="yes" id="q2b"> <label>B</label> <p>Jamestown</p> </option> <option correct="no"> <label>C</label> <p>Roanoke</p> </option> </question> ...