Reference · SemText · Prose & code
<sem-browser>
SemText element
It gives the document an address bar and a window frame, while everything inside stays real, working SemText. Use it when a page demonstrates a document rather than being one.
Example
sem-browser.html
source
1
<sem-browser src="/demo/example-deck.sem.html" label="the deck">
2
<!-- zero-JS fallback chrome: inert glyphs, address pill, framed deck -->
3
<figure class="code-window">
4
<div aria-hidden="true">← → ⟳</div>
5
<div>demo/example-deck.sem.html</div>
6
<iframe src="/demo/example-deck.sem.html" title="the deck" loading="lazy"></iframe>
7
</figure>
8
</sem-browser>
render
Live render boots with JavaScript — the authored source is alongside.
Source: spec/schema/sem-browser.md