HTML Entity for Horn (U+031B)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+031B

What Is Horn?

Horn is the Unicode character at U+031B in Combining Diacritical Marks. Official name: COMBINING HORN. It is a combining mark that attaches to the previous base letter — for example ơ → ơ. In Vietnamese it forms letters such as ơ and ư.

Remember
Mark          (combining U+031B)
Example       ơ · ư
Unicode       U+031B
Hex entity    ̛
Decimal       ̛
CSS escape    \031B
Named entity  (none)
Needs         a base letter before the mark
Prefer when   precomposed ơ (U+01A1) / ư (U+01B0) exist

Prefer ̛ or ̛ after a base letter (no named form). For everyday Vietnamese, prefer precomposed ơ (ơ) and ư (ư) when available.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entityNone—
Hex entity̛After a base letter in HTML
Decimal entity̛After a base letter in HTML
Precomposed (preferred)ơ (ơ) · ư (ư)Everyday Vietnamese text
CSS escape\031BStylesheet content with a base letter

When to Use Which

SituationUse
Vietnamese ơ / ư with a precomposed letterơ / ư plus lang="vi" when appropriate
Letter with no convenient precomposed formBase letter + ̛
Hook Above combining markHook Above — ̉
Combining diaeresis / umlautDiaeresis — ̈
Combining ring aboveRing above — ̊
Generated text via ::before / ::aftercontent: "o\031B" (base letter + escape)

Live Preview

Horn rendered with base letters, next to precomposed Vietnamese forms.

Built with U+031B ơ   ư
Precomposed ơ   ư   Ơ   Ư
Large sample ơ
Compared ơ   ơ   ả   ä
With entities Hex: ơ | Decimal: ơ | Precomposed: ơ

Complete HTML Example

One page that shows Horn with hex, decimal, CSS escape, a typed combining sequence, and a precomposed alternative. Use View Output or open the live editor.

Hex + Decimal + CSS + Typed + Precomposed

Ways to work with U+031B and the preferred precomposed ơ.

html
<!DOCTYPE html>
<html lang="vi">
<head>
  <meta charset="UTF-8">
  <title>Horn (U+031B) in HTML</title>
  <style>
    #point::after {
      content: "o\031B";
    }
  </style>
</head>
<body>
  <p>Built with Hex: o&#x031B;</p>
  <p>Built with Decimal: o&#795;</p>
  <p id="point">Built with CSS: </p>
  <p>Typed: ơ</p>
  <p>Precomposed (preferred): &#x1A1; &#x1B0;</p>
  <p><span aria-label="o with Horn">o&#x031B;</span></p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: write a base letter, then &#x031B;. The mark combines → ơ.

2. Decimal: same mark as 795 → o&#795;. Same visual as hex.

3. CSS: put the base letter and \031B together in content (e.g. "o\031B"). Combining alone in content has nothing to attach to.

4. Precomposed: &#x1A1; is one character (U+01A1 → ơ). Prefer this for everyday Vietnamese ơ / ư.

Pitfalls & Tips

Common mistakes when working with Horn.

Order

Base letter first

Always write the base character before &#x031B;. Alone, U+031B may not display usefully.

Name

No named entity

There is no HTML5 named entity for U+031B. Use &#x031B; or &#795;, or precomposed &#x1A1; / &#x1B0;.

ơ

Prefer precomposed Vietnamese

For common horn letters (ơ ư Ơ Ư), prefer the single precomposed code point over building with U+031B.

Font

Font coverage

Some fonts stack combining Horn poorly. If ơ looks wrong, try a font with good Vietnamese support.

CSS vs HTML

Do not mix escapes

\031B belongs in CSS strings (with a base letter). &#x031B; / &#795; belong in HTML after a base letter.

a11y

Add accessible text

Prefer lang="vi" on Vietnamese content. Use aria-label when a rare combining sequence could be unclear.

Semicolon

End references

Always finish entities with ; — write &#x031B;, not &#x031B.

Browser Support

Horn (U+031B) and its entity forms (&#x031B;, &#795;, CSS \\031B) are supported in all mainstream browsers. Visible combining depends on font coverage for Combining Diacritical Marks and Vietnamese letters.

✓ Universal support

Horn (U+031B)

Encode with hex, decimal, CSS escape, type the mark after a base letter, or use a precomposed Vietnamese letter — encoding is supported everywhere.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer All versions
Yes
U+031B Full support

Bottom line: Prefer precomposed ơ / ư when available. Otherwise use &#x031B; after a base letter (no named form), and \\031B only inside CSS content with a base letter.

Key Takeaways

  • Unicode: Horn is combining U+031B (decimal 795) — needs a base letter.
  • HTML: no named entity — use o&#x031B; / o&#795;, or prefer &#x1A1; (ơ).
  • CSS: use "o\031B" inside content (base letter + escape).
  • Meaning: Vietnamese ơ / ư mark — prefer precomposed letters when they exist.

One line: base + U+031B → o&#x031B; / CSS "o\031B", or prefer &#x1A1; (ơ).

Frequently Asked Questions

Write a base letter, then &#x031B; (hex), &#795; (decimal), or use CSS content with a base letter plus \031B (for example "o\031B"). There is no named HTML entity for U+031B. For Vietnamese ơ and ư, prefer precomposed &#x1A1; and &#x1B0; when possible.
U+031B (COMBINING HORN). Hex 031B, decimal 795. It belongs to the Combining Diacritical Marks block (U+0300–U+036F).
No. HTML5 does not define a named entity for this combining mark. Prefer &#x031B; or &#795; after a base letter, or precomposed Vietnamese letters such as &#x1A1; (ơ) and &#x1B0; (ư).
Use it for Vietnamese or linguistics when you need Horn on a letter that has no convenient precomposed form. Prefer NFC / precomposed ơ ư Ơ Ư for everyday text.
HTML numeric entities (&#795; or &#x031B;) go in markup after a base letter. The CSS escape \031B goes in stylesheet strings together with a base letter (usually content on ::before/::after).
Related, but not the same encoding. o + U+031B builds a combining sequence. ơ (U+01A1) is one precomposed character. Prefer the precomposed form for Vietnamese when available.

Did you know?

Horn is Unicode U+031B (decimal 795) in Combining Diacritical Marks (official name COMBINING HORN). It is a combining mark that attaches to the previous character (e.g. o&#x031B; → ơ). There is no HTML5 named entity. For Vietnamese, prefer precomposed ơ (U+01A1) and ư (U+01B0) when they exist.

Next: Hot Springs

Learn the HTML entity for hot springs (U+2668).

Hot springs tutorial →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful