0.7.4 gives the Ambient pack weather. A page names one feed URL on its own site, and the pack sets data-weather from it, uses its sunrise and sunset for dawn and dusk, and never shows a stale observation. Helpers for producing the feed from Open-Meteo are included. Ambient p…
Represents text in an alternate voice, mood, or language — foreign words, technical terms, thoughts, ship names, or taxonomic designations.
Description
The <i> element represents text in an alternate voice, mood, or quality — a span of text that is offset from normal prose without conveying extra emphasis or importance. Common uses include foreign language phrases, technical terms, thoughts, and ship names.
VB styles <i> with font-synthesis: weight style and font-optical-sizing: auto for variable fonts.
A real italic face always wins. If the active font has none, the browser synthesizes a slanted version, so the <i> stays visible; load an italic face if you want true italic letterforms. CJK fonts almost never ship italics, so VB swaps italic for a calligraphic face and a dotted underline in those languages (see CJK alternate voice).
Inside text that is already italic — a blockquote, a work title, another <i> — <i> toggles back to upright so it still stands out (see Italic contexts).
When to Use
Foreign words:et cetera, c'est la vie (add langattribute)
Thoughts: Internal monologue in fiction
Ship names:USS Enterprise, Titanic
Taxonomic names:Tyrannosaurus rex, Homo sapiens
Technical terms: First use of a term in a non-definitional context
The icon-font habit of <i class="icon-star"></i> borrows an element that means “alternate voice” for a picture. Use <icon-wc>, or <span data-icon> for a CSS-only icon. VB tolerates <i data-icon aria-hidden="true"> as a decorative convention — it is hidden from assistive technology, so the element's meaning never reaches anyone — but prefer the options above in new markup.
Examples
Foreign language
12
<p>The word <ilang="la">persona</i> is Latin for "mask."</p><p>In French, <ilang="fr">c'est la vie</i> means "that's life."</p>
Internal thoughts
1
<p>She thought, <i>this can't be happening</i>, as the screen went black.</p>
Ship names
12
<p>The <i>USS Enterprise</i> set sail at dawn.</p><p>The <i>Titanic</i> sank in 1912.</p>
Taxonomic designations
12
<p>The species <i>Tyrannosaurus rex</i> lived during the Cretaceous period.</p><p>The common daisy (<i>Bellis perennis</i>) blooms in spring.</p>
i vs em
Both render as italic, but they have different semantics:
Element
Semantics
Screen Reader
<i>
Alternate voice — no meaning change
Not announced differently
<em>
Stress emphasis — changes meaning
May be announced with emphasis
i vs em usage
12345
<!-- i: alternate voice (no meaning change) --><p>The word <ilang="la">persona</i> is Latin for "mask."</p><!-- em: stress emphasis (changes meaning) --><p>I <em>love</em> chocolate. (not just "like")</p>
Italic Contexts
Italic text inside text that is already italic would disappear. VB uses the classic typographic toggle: <i> and <em> inside an italic context — <blockquote>, <cite>, <dfn>, <var>, or another <i>/<em> — switch back to upright. The toggle goes one level deep.
Only contexts that are actually italic count:
<address> and <cite data-variant="quoted"> are upright, so <i> inside them stays italic.
A blockquote's attribution line (blockquote > footer, blockquote > cite) is upright, so <i> there is italic again.
Themes with an upright blockquote (brutalist, cyber, super2026, swiss) re-assert italic inside it; the editorial theme's italic <h1> and <h3> toggle like a blockquote does.
The dyslexia theme makes <em> upright and semibold, so an <i> inside it stays italic.
i toggles inside italic contexts
123456
<blockquote><p>The quote is italic, so the ship <i>Endurance</i> is upright.</p><footer>Logbook of the <i>Nimrod</i></footer><!-- attribution is upright: i is italic --></blockquote><p><cite>A Guide to <i>Bellis perennis</i></cite></p>
CJK Alternate Voice
Chinese, Japanese and Korean fonts generally have no italic face, and a slanted CJK glyph reads poorly. When the content language is zh, ja or ko, VB sets <i> upright in a calligraphic face (kai / mincho; override with --font-cjk-alternate) with a dotted underline. It deliberately does not use emphasis marks — those belong to <em>, which is stress, not an alternate voice. <dfn> (heavier weight) and <cite> (wavy underline) each get their own cue.
Romanised text (lang="ja-Latn", zh-Latn, ko-Latn) is Latin script and keeps the real italic.