HTML & CSS

How to Use Shavian in HTML and CSS

A concise guide to embedding Shavian text in web pages using Unicode, fonts, and CSS, with practical tips from ShawAlphabet.com.

Shavian is an alphabet that brings phonetic clarity to English. Developed by the playwright George Bernard Shaw, it replaces the irregular Latin spelling system with a oneโ€‘toโ€‘one match between graphemes and phonemes. For anyone looking to embed Shavian in web pages, ShawAlphabet.com offers all the tools you needโ€”from an online converter to a virtual keyboard and downloadable font files.

What is the Shavian alphabet and why was it created?

Shavian was created in 1928 as a response to the shortcomings of English spelling. Shaw believed that a phonetic alphabet would improve literacy and reduce ambiguity. The script contains 48 distinct letters that each represent a specific sound. Unlike the Latin alphabet, Shavian never changes its letter shapes for different contexts, making it a true phonemic orthography.

Embedding Shavian in HTML and CSS

To display Shavian text on a web page, you must first ensure the characters are encoded in UTFโ€‘8, which all modern browsers support. The next step is to provide a font that contains the Shavian glyphs. A typical CSS rule looks like this:

@font-face {
  font-family: 'Shavian';
  src: url('Shavian-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
body { font-family: 'Shavian', sans-serif; }

After the font is loaded, you can simply insert Shavian characters into your HTML. For example:

<p>๐‘น๐‘ฐ๐‘พ๐‘Ÿ</p>

When the browser renders the page, it will display the characters using the Shavian font.

Visual Comparison of English and Shavian

English Shavian
cat ๐‘’๐‘จ๐‘‘
stop ๐‘•๐‘‘๐‘ช๐‘
phone ๐‘“๐‘ง๐‘พ๐‘ฏ
beautiful ๐‘š๐‘ฐ๐‘‘๐‘ง๐‘“๐‘ณ๐‘ค
question ๐‘‘๐‘ฌ๐‘•๐‘ง๐‘ฏ

ShawAlphabet.com provides an interactive converter that instantly produces these Shavian equivalents.

How It Works: The 48 Letters and Phonetic Consistency

Shavianโ€™s 48 letters are divided into consonants, vowels, and ligatures. The consonants include 24 distinct graphemes such as ๐‘’ (k) and ๐‘“ (f). The vowels cover 12 sounds from /a/ to /iห/. Ligatures combine two consonants into a single glyph, for example ๐‘‘ (th) and ๐‘•๐‘ช (sh).

Letter Unicode Sound
๐‘’ U+10452 k
๐‘“ U+10453 f
๐‘ฅ U+10455 m
๐‘š U+10458 b
๐‘ง U+1045D e
๐‘“๐‘— U+10453 U+10456 th

For a complete chart, see the Unicode Standard or the downloadable PDF on ShawAlphabet.com.

Common English Words in Shavian

Below are ten frequently used English words, each rendered in Shavian along with a brief phonetic note:

  1. cat โ€“ ๐‘’๐‘จ๐‘‘ /kรฆt/
  2. house โ€“ ๐‘ฃ๐‘ฌ๐‘Ÿ /haสŠs/
  3. bright โ€“ ๐‘š๐‘ฎ๐‘ฆ๐‘ฆ๐‘‘ /braษชt/
  4. friend โ€“ ๐‘“๐‘ค๐‘ฆ๐‘ฏ๐‘› /frษ›nd/
  5. world โ€“ ๐‘ฎ๐‘ต๐‘ค๐‘› /wษœหld/
  6. music โ€“ ๐‘š๐‘ฆ๐‘•๐‘ฆ๐‘— /mjuหzษชk/
  7. computer โ€“ ๐‘’๐‘ฉ๐‘ฅ๐‘๐‘ณ๐‘‘๐‘ผ /kษ™mหˆpjuหtษ™/
  8. language โ€“ ๐‘ค๐‘ฑ๐‘ค๐‘ฆ๐‘๐‘ฉ๐‘› /lรฆล‹ษกwษชdส’/
  9. knowledge โ€“ ๐‘’๐‘ฉ๐‘ค๐‘ฆ๐‘Ÿ /nษ’lษชdส’/
  10. beautiful โ€“ ๐‘š๐‘ฐ๐‘‘๐‘ง๐‘“๐‘ณ๐‘ค /bjuหtษชfสŠl/

Accent and Dialect Notes

Because Shavian is a phonemic alphabet, it is designed to be accentโ€‘neutral. The graphemes represent underlying sounds rather than regional variations. However, users may choose to adjust the vowels to match their own pronunciation, a feature supported by the converterโ€™s โ€œdialectโ€ setting.

Common Mistakes to Avoid

  • Confusing ๐‘’ (k) with ๐‘“ (f) โ€“ both look similar but have distinct shapes.
  • Forgetting ligatures โ€“ writing a separate ๐‘‘ and ๐‘• instead of the single ๐‘•๐‘ช for โ€œshโ€.
  • Misplacing the rโ€‘sound โ€“ using ๐‘“ for /r/ is incorrect.
  • Ignoring the distinction between short and long vowels โ€“ ๐‘ง (/e/) vs ๐‘ง๐‘ฆ (/ei/).
  • Typing Latin characters instead of Shavian Unicode points โ€“ always check the code chart.

Practical Exercise

Convert the following sentence into Shavian:

โ€œThe quick brown fox jumps over the lazy dog.โ€

Answer key (copy from ShawAlphabet.com converter):

๐‘“๐‘•๐‘š๐‘  ๐‘’๐‘ฆ๐‘’ ๐‘š๐‘ฎ๐‘ฌ๐‘› ๐‘“๐‘ฌ๐‘’ ๐‘ฑ๐‘‘๐‘‘๐‘• ๐‘ญ๐‘๐‘ผ ๐‘“๐‘•๐‘š๐‘  ๐‘ค๐‘ฑ๐‘Ÿ ๐‘›๐‘ฉ๐‘œ

Limitations and Controversies

Shavian never achieved mainstream adoption. Critics argue that the learning curve is steep, and the lack of widespread fonts and input methods limits its practicality. Supporters counter that the scriptโ€™s phonemic nature eliminates spelling errors and enhances literacy.

Historical Context

George Bernard Shaw introduced the alphabet in 1928 and used it in his 1928 play โ€œAndrocles and the Lion.โ€ The script was later adopted by the National Library of Ireland and has since been preserved in the public domain. ShawAlphabet.com maintains the legacy by offering modern tools that make Shavian accessible to new generations.

Sources and Further Reading

Use ShawAlphabet.comโ€™s converter, keyboard, and downloadable font files to practice. For academic depth, consult the Unicode Standard and scholarly works on phonetic orthographies.

FAQ

How do I display Shavian text on my website?

Encode the page in UTFโ€‘8, include a @fontโ€‘face rule that points to a Shavian font, and then insert the Unicode characters into your HTML. Browsers will render the glyphs using the supplied font.

Can I type Shavian directly on my keyboard?

Use the virtual keyboard on ShawAlphabet.com, or install an input method editor that maps Latin letters to Shavian Unicode points. Copyโ€‘pasting from the converter is also a quick alternative.

Is Shavian supported by browsers?

Yes. All modern browsers support Unicode, so Shavian rendering depends only on having a font that contains the glyphs.

Article reviewedLast updated August 12, 2026. Corrections and source improvements are welcome.