For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /examples/web-tags.md.

Web Tags

A sign-up card written as it would be for the browser: HTML tags, DOM events and type selectors. Each tag renders as the Lynx element it stands for.

What it shows

  • HTML tags — the <main> and <div> render as views, the <h1>, <p>, <label> and <button> as texts, and the <img> as an image. See HTML tags.
  • Type selectors — h1 { … } and button { … } in the component's styles match those tags, as on the web. See CSS on Lynx.
  • DOM events — (input) reads $event.target.value, (keyup.enter) runs on the keyboard's return key, and (click) on a tap. See DOM event names.
  • [hidden] — the welcome line stays hidden until you join.
  • Loose text and inheritance — the text straight inside each <li> is drawn in a <text> that takes the list's color and size, and the terms line runs its link on with its text.