Reference · SemText · Facts & recall
<sem-option>
SemText element
The correct attribute marks the right choice. Readers pick an answer; machines read which option was correct.
Example
sem-option.html
source
1
<sem-question type="mc">
2
<p data-kind="prompt">Which header carries the OIDC token?</p>
3
<sem-option correct>Authorization</sem-option>
4
<sem-option>Cookie</sem-option>
5
</sem-question>
6
render
Live render boots with JavaScript — the authored source is alongside.
Source: spec/conventions.md