HTML Entity for Horn (a̛)

Intermediate
⏱️ 5 min read
📚 Updated: Jun 2026
🎯 1 Code Example
Unicode U+031B

What You'll Learn

How to insert the combining Horn (U+031B) in HTML using hexadecimal, decimal, and CSS escape methods. This mark is U+031B (COMBINING HORN) in the Combining Diacritical Marks block (U+0300–U+036F). It attaches to a base character when placed after it in markup—common in Vietnamese (dấu móc) and other scripts that use this diacritic.

Place it after the base letter (e.g. a̛ for a with horn). Use ̛, ̛, or CSS \031B. There is no named HTML entity—numeric codes or CSS escapes are required for this combining character.

⚡ Quick Reference — Horn

Unicode U+031B

Combining Diacritical Marks

Hex Code ̛

Hexadecimal reference

HTML Code ̛

Decimal reference

Named Entity

Use numeric codes only

Reference Table
Name           Value
────────────   ──────────
Unicode        U+031B
Hex code       ̛
HTML code      ̛
Named entity   (none)
CSS code       \031B
Meaning        Horn (combining diacritic)
Position       Above base letter
Example        a̛ (a + mark)
1

Complete HTML Example

This example shows the Horn (U+031B) with the letter a using hexadecimal code, decimal HTML code, and a CSS content escape. Always place the combining mark after the base letter:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\031B";
  }
 </style>
</head>
<body>
<p>Horn using Hexadecimal: a&#x031B; o&#x031B;</p>
<p>Horn using Decimal: a&#795; o&#795;</p>
<p id="point">Horn using CSS Entity: a</p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The Horn (U+031B) renders when fonts support Combining Diacritical Marks stacking:

Chrome 1+
Firefox 1+
Safari 1+
Edge 12+
Opera 4+
Android 4.4+
iOS Safari 1+

👀 Live Preview

Horn (U+031B) on letters—place the mark after the base character (common in Vietnamese):

a + U+031B (hex)
o + U+031B (decimal)
Vietnamese context a̛ (dấu móc on vowels)
Mark alone ̛
Base + mark order a̛   (not ̛a)
Numeric refs &#x031B; &#795; \031B

🧠 How It Works

1

Hexadecimal Code

&#x031B; uses Unicode hexadecimal 031B. Place it after the base letter (e.g. a&#x031B;) so the horn mark stacks correctly.

HTML markup
2

Decimal HTML Code

&#795; uses decimal Unicode value 795 for the same combining character.

HTML markup
3

CSS Entity

\031B is used in CSS, typically in the content property of ::after on an element that already contains the base letter.

CSS stylesheet
=

Combining above the base

U+031B is a single combining code point. Order in HTML: base letter, then combining mark. Next: Hot Springs.

Use Cases

The Horn (U+031B) is commonly used in:

🇮🇳 Vietnamese

Correct Vietnamese words that use the horn diacritic (dấu móc) in names, content, and localization.

🔤 Linguistics

Phonetic transcription and linguistic notation where the horn is required.

📖 Transliteration

Romanization and transliteration systems that use the horn on letters.

🌐 i18n

Websites and apps that support Vietnamese or related scripts.

📚 Language learning

Materials and dictionaries for Vietnamese or related languages.

📋 Entity reference

HTML entity lists and developer documentation for combining characters.

💡 Best Practices

Do

  • Place U+031B after the base letter in markup (e.g. a&#x031B;)
  • Use fonts with Vietnamese and Combining Diacritical Marks support
  • Declare UTF-8 with <meta charset="utf-8">
  • Keep base + combining order correct for screen readers
  • Test diacritic rendering on mobile and desktop browsers

Don’t

  • Put the combining mark before the base letter
  • Expect a named HTML entity for U+031B
  • Use CSS \031B in HTML text nodes
  • Insert a space between the base letter and &#x031B; (use a&#x031B;, not a &#x031B;)
  • Confuse with Hook Above (U+0309) or other combining marks
  • Assume every font positions combining marks identically

Key Takeaways

1

Two HTML numeric references plus CSS insert U+031B

&#x031B; &#795;
2

For CSS, use \031B in content after the base letter in the element

3

Unicode U+031B — COMBINING HORN

4

Example sequence: a&#x031B; (a with mark)

❓ Frequently Asked Questions

Use &#x031B; (hex), &#795; (decimal), or \031B in CSS content. There is no named entity. Place the code after a base character (e.g. a&#x031B;) so the mark appears above it.
U+031B (COMBINING HORN). Combining Diacritical Marks block (U+0300–U+036F). Hex 031B, decimal 795. A combining character placed above a base letter.
In Vietnamese text and transliteration, linguistic and phonetic notation, language learning, internationalization (i18n), and anywhere you need this combining diacritical mark above a letter.
HTML references (&#795; or &#x031B;) go in markup after the base letter. The CSS escape \031B is used in stylesheets, typically on ::after when the base letter is already in the element.
No. There is no named HTML entity for U+031B. Use hexadecimal &#x031B;, decimal &#795;, or CSS \031B in the content property. Place the code after a base character so it displays correctly as a̛.
U+031B is a combining character and must be placed immediately after the base character with no space in between. Use a&#x031B;, not a &#x031B;. Ensure UTF-8 encoding and a font that supports Combining Diacritical Marks.

Explore More HTML Entities!

Discover 1500+ HTML character references — combining marks, math symbols, and more.

All HTML Entities →

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