SemText

Reference · SemText · Facts & recall

<incorrect-statement>

SemText element

You write it inside a sem-fact. Quiz views can offer it as a wrong answer choice; extraction keeps it labelled as false — never as a claim.

A wrong version of a fact, shown so readers can spot the error. You write it inside a sem-fact. Quiz views can offer it as a wrong answer choice; extraction keeps it labelled as false — never as a claim.

No options beyond the global attribute catalog are stated for this tag.

Example

incorrect-statement.html
source
1 <sem-fact id="g-f-storage" kind="anti-pattern">
2 <statement>JWTs belong in memory or httpOnly cookies</statement>
3 <conclusion>localStorage is readable by any script on the page.</conclusion>
4 <incorrect-statement>localStorage is fine if the token is short-lived.</incorrect-statement>
5 </sem-fact>
6
render

Live render boots with JavaScript — the authored source is alongside.

Source: spec/schema/sem-facts.md