Where is the exclamation mark key on the keyboard?
Below is a computer keyboard with the exclamation key highlighted.
How do I create the "!" symbol?
Creating the "!" symbol on a U.S. keyboard
Creating the "!" symbol on a smartphone or tablet
How is an exclamation mark used with a computer?
The picture below is an example of exclamation marks in Microsoft Windows. As shown, there are five exclamation marks on five devices listed in the Windows Device Manager. These exclamation marks indicate errors with these hardware devices.
How else is the exclamation mark used with a computer?
- In programming and scripting languages, the exclamation mark is used as "not." For example, "!=" also means not equal. See our operator definition for further information.
- Used to help identify a nonexecutable statement.
- An exclamation mark is used in a shebang to help scripts, such as Perl scripts, identify the location of the interpreter.
- In mathematics, an exclamation mark indicates a factorial number, which is multiplication by decreasing positive integers. For example, 5! = 5 * 4 * 3 * 2 * 1 which is 120.
An exclamation mark is also a common symbol used in various programs and online services to indicate something needs your attention.
How to create an upside-down exclamation mark in HTML
See our extended special HTML characters page for steps with creating an upside-down exclamation mark in HTML.