SemText

Reference · SemText · Knowledge & documents

<sem-faqs>

SemText element

You wrap sem-faq children in it. The view only changes how the questions and answers are shown — the words stay the same.

A collection of FAQ entries. You wrap sem-faq children in it. The view only changes how the questions and answers are shown — the words stay the same. collection qualifier drawn into the label chrome (display-only sugar). per the global attribute catalog (conventions.md §2) per the global attribute catalog (conventions.md §2)

Example

sem-faqs.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