How to Type ĥ (H with circumflex) on HTML
Typing ĥ (h with circumflex) on HTML takes a few seconds once you know the trick. The short answer is ĥ. Read on for step-by-step instructions, the uppercase Ĥ and what to do when a method does not work.
ĥ on HTML: ĥ
Ĥ on HTML: Ĥ
Or copy it:
Method 1: Codes for web pages
| Format | Code for ĥ |
|---|---|
| Decimal entity | ĥ |
| Hex entity | ĥ |
| CSS content | content: "\0125"; |
| JavaScript | "\u0125" |
| URL encoded | %C4%A5 |
| UTF-8 bytes | C4 A5 |
Method 2: Type it directly with UTF-8
If your page starts with <meta charset="utf-8"> and the file is saved as UTF-8, you can paste ĥ straight into the HTML. Entities are only needed when your editor or database cannot store the character.
Method 3: Watch for normalization
ĥ can also be written as h plus a combining mark. Both look the same but compare as different strings. In JavaScript, call str.normalize("NFC") before comparing or searching.
How to type the capital Ĥ
The uppercase form works the same way with Shift added where a letter is typed.
Codes for web pages
| Format | Code for Ĥ |
|---|---|
| Decimal entity | Ĥ |
| Hex entity | Ĥ |
| CSS content | content: "\0124"; |
| JavaScript | "\u0124" |
| URL encoded | %C4%A4 |
| UTF-8 bytes | C4 A4 |
Type it directly with UTF-8
If your page starts with <meta charset="utf-8"> and the file is saved as UTF-8, you can paste Ĥ straight into the HTML. Entities are only needed when your editor or database cannot store the character.
About the letter ĥ
ĥ is Unicode U+0125, named LATIN SMALL LETTER H WITH CIRCUMFLEX. It is used in Esperanto. A small caret (^) above a vowel. In French it often marks a vanished s (forêt from forest), in Portuguese a closed vowel, in Welsh a long vowel, and in Vietnamese a distinct vowel (â, ê, ô). See the ĥ character page for every code and shortcut.
Troubleshooting
- If you see à and other symbols, the file is UTF-8 but the browser reads it as Windows-1252. Add the meta charset tag.
- Named entities are case sensitive: É and é are different letters.
- In XML and XHTML only five named entities exist, so use numeric codes there.
Frequently asked questions
What is the shortcut for ĥ on HTML?
ĥ.
Can I just copy and paste ĥ?
Yes. Click the copy button above, then paste with Ctrl+V on Windows and Chromebook, Cmd+V on a Mac, or touch and hold and choose Paste on a phone.
What is the Unicode code for ĥ?
U+0125. In HTML it is ĥ.
Related guides
- How to Type ĥ (H with circumflex) on Windows
- How to Type ĥ (H with circumflex) on Mac
- How to Type ĥ (H with circumflex) on iPhone
- How to Type ĥ (H with circumflex) on Android
- How to Type ĥ (H with circumflex) on Microsoft Word
- How to Type ĥ (H with circumflex) on Google Docs
- How to Type ġ (G with dot above) on HTML
- How to Type ģ (G with cedilla) on HTML
- How to Type ħ (H with stroke) on HTML
- How to Type ĩ (I with tilde) on HTML