Reference · SemText · Sequences & progress
<sem-event>
SemText element
You give it a when date, an optional until end date, and an optional status such as planned or done. Its place in the page is its place in time — the element does not sort events.
Shares its schema with
<sem-chronology>
— the option bullets below belong to that element's contract.
No options beyond the global attribute catalog are stated for this tag.
Children
-
<time>Recommended first child `<time datetime>`: the human-readable date. When present it is the date the reader sees; when absent the CSS renders `when` verbatim as the date label (`:not(:has(time))`).
Example
Live render boots with JavaScript — the authored source is alongside.
variant: every status value, in DOM (chronological) order
One event per `status` — `done` ✓, `current` →, `blocked` ⛔, `todo` ○ (dashed marker) — plus an unannotated event, which reads neutral and is NOT `todo`: an event records what happened, not what is due. Dates order the list; the vocabulary never sorts.
Live render boots with JavaScript — the authored source is alongside.
variant: where the date label comes from
First event: no `<time>` — CSS renders `when` verbatim. Second: a `when`/`until` period with no `<time>` — CSS joins them with an en dash. Third: both authored — the reader sees the `<time>` text, the attribute stays machine-facing.
Live render boots with JavaScript — the authored source is alongside.
Source: spec/schema/sem-chronology.md