More
More
Inverted Question Mark HTML entity ¿
¿ is the HTML entity for Inverted Question Mark ¿ (U+00BF). Copy ¿, ¿ and the CSS, JavaScript, Python and URL escapes.
- Entity
¿- Legacy form
¿(no semicolon)- Code point
- U+00BF
- Unicode name
- INVERTED QUESTION MARK
- Block
- Latin-1 Supplement
- Category
- Other punctuation (Po)
- 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: "\BF";In a stylesheet, for ::before and ::after. | |
| JavaScript | "\u00BF"Also valid in JSON. | |
| Python | "\u00bf"Python 3 string literal. | |
| Python by name | "\N{INVERTED QUESTION MARK}"Readable alternative using the Unicode name. | |
| URL | %C2%BFPercent-encoded UTF-8 bytes, for a path or query value. | |
| UTF-8 bytes | C2 BF2 bytes. | |
| UTF-16 | 00BF1 code unit, which is what JavaScript length counts. |
When to use it
Opens a question in Spanish: ¿Qué tal? It goes where the question begins, which may be mid-sentence.
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 punctuation and typography
ˆModifier Letter Circumflex Accent»Right GuillemetˇCaron¸Cedilla˘Breve·Middle Dot˙Dot Above¶Pilcrow
All punctuation and typography · 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).