How to Type ņ (N with cedilla) on HTML
The letter ņ does not have its own key on an English keyboard, but HTML still makes it easy to type. Use ņ, or pick one of the other methods in this guide. ņ appears in Latvian.
ņ on HTML: ņ
Ņ on HTML: Ņ
Or copy it:
Method 1: Codes for web pages
| Format | Code for ņ |
|---|---|
| Decimal entity | ņ |
| Hex entity | ņ |
| CSS content | content: "\0146"; |
| JavaScript | "\u0146" |
| URL encoded | %C5%86 |
| UTF-8 bytes | C5 86 |
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 n 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: "\0145"; |
| JavaScript | "\u0145" |
| URL encoded | %C5%85 |
| UTF-8 bytes | C5 85 |
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+0146, named LATIN SMALL LETTER N WITH CEDILLA. It is used in Latvian. A small hook under a letter. ç gives a soft s sound in French, Portuguese, Catalan, Turkish and Albanian; Turkish also uses ş, and Latvian uses ģ, ķ, ļ, ņ. 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+0146. In HTML it is ņ.
Related guides
- How to Type ņ (N with cedilla) on Windows
- How to Type ņ (N with cedilla) on Mac
- How to Type ņ (N with cedilla) on iPhone
- How to Type ņ (N with cedilla) on Android
- How to Type ņ (N with cedilla) on Microsoft Word
- How to Type ņ (N with cedilla) on Google Docs
- How to Type ľ (L with caron) on HTML
- How to Type ł (L with stroke) on HTML
- How to Type ő (O with double acute) on HTML
- How to Type œ (Oe ligature (ethel)) on HTML