More
More
Capital N with Tilde HTML entity Ñ
Ñ is the HTML entity for Capital N with Tilde Ñ (U+00D1). Copy the decimal Ñ and hex Ñ codes plus CSS, JavaScript, Python and URL escapes.
- Entity
Ñ- Legacy form
Ñ(no semicolon)- Code point
- U+00D1
- Unicode name
- LATIN CAPITAL LETTER N WITH TILDE
- Block
- Latin-1 Supplement
- Category
- Uppercase letter (Lu)
- Since
- Unicode 1.1
- Defined in
- HTML 4.01 and HTML5
Codes to copy
| HTML named | ÑWorks in HTML; in XML only & < > " ' are predefined. | |
|---|---|---|
| HTML decimal | ÑWorks in HTML and XML. | |
| HTML hex | ÑWorks in HTML and XML. | |
| CSS | content: "\D1";In a stylesheet, for ::before and ::after. | |
| JavaScript | "\u00D1"Also valid in JSON. | |
| Python | "\u00d1"Python 3 string literal. | |
| Python by name | "\N{LATIN CAPITAL LETTER N WITH TILDE}"Readable alternative using the Unicode name. | |
| URL | %C3%91Percent-encoded UTF-8 bytes, for a path or query value. | |
| UTF-8 bytes | C3 912 bytes. | |
| UTF-16 | 00D11 code unit, which is what JavaScript length counts. |
When to use it
Ñ writes U+00D1 (Capital N with Tilde), a capital letter from the Unicode Latin-1 Supplement block, encoded since Unicode 1.1. On a page saved as UTF-8 the letter can simply be typed; the entity helps in ASCII-only templates and code samples.
The name dates from HTML 4, so it works in every browser and in old email clients.
Browsers also accept the legacy form Ñ without a semicolon, for compatibility with old pages; new HTML should always end the reference with a semicolon.
More latin letters with accents
ÓCapital O with AcuteÏCapital I with DiaeresisÔCapital O with CircumflexÎCapital I with CircumflexÕCapital O with TildeÍCapital I with AcuteÖCapital O with DiaeresisÌCapital I with Grave
All latin letters with accents · Every HTML entity · Encode or decode text
Source: the WHATWG HTML Standard list of named character references and the Unicode Character Database (Unicode 18.0).