Upside Down Question Mark Upside Down Exclamation
< return home

3. Using It: HTML

i) To use the upside down question mark in HTML, you can use any of these three codes: &iquest; or &#191; or &#xbf;. All three of these codes are totally synonymous.

ii) The first code, &iquest;, is called a named character entity, because it "names" the character (inverted question). The next two characters are called numeric character references. They refer to the character with numbers. The two values (#191 and #xbf) are actually the same number. You can learn more about this, in the next two sections.

iii) Copying and pasting the upside down question mark itself (¿) will work if the HTML document is served using a Unicode encoding such as UTF-8. Remember that the document must also be saved in the same encoding that it is being served in (this might involve setting your text editor to, for example, UTF-8).

iv) Our recomendation would be to use one of the HTML codes (i) instead of copying/pasting (iii).

Prev Next

Table of Contents

1. Using It: Copying / Pasting 2. Using It: Fonts & Encodings 3. Using It: HTML 4. Understanding Unicode 5. Unicode, HTML, and the Upside Down Question Mark 6. Purpose of the Upside Down Question Mark