Reference · SemText · Knowledge & documents
<sem-faq>
SemText element
The question child is the question; everything you write in the answer child is the answer. Machines extract both verbatim; the browser can show them as a Q and A pair.
Shares its schema with
<sem-faqs>
— the option bullets below belong to that element's contract.
No options beyond the global attribute catalog are stated for this tag.
Children
-
<question>`<question>` — required per entry; the asked question. -
<answer>`<answer>` — required per entry; the authored answer.
Example
sem-faq.html
source
1
<sem-faqs id="faq-auth" kind="auth">
2
<sem-faq id="q-expiry">
3
<question>Do access tokens expire mid-session?</question>
4
<answer>No — the client mints a fresh pair from the refresh
5
grant; the user never re-signs-in mid-session.</answer>
6
</sem-faq>
7
<sem-faq id="q-secret">
8
<question>Where do client secrets live?</question>
9
<answer>Server-side, in the confidential client — the browser
10
only ever sees tokens.</answer>
11
</sem-faq>
12
</sem-faqs>
render
No shipped runtime for this element — the authored example renders as plain HTML.
Source: spec/schema/sem-faqs.md