Exclamation mark

Updated: 03/06/2020 by Computer Hope
Exclamation Mark

Alternatively referred to as a bang or exclamation point, an exclamation mark "!" is a punctuation mark found on the "1" key on a standard United States QWERTY keyboard.

Where is the exclamation mark key on the keyboard?

Below is a computer keyboard with the exclamation key highlighted.

Exclamation mark key

How do I create the "!" symbol?

Creating the "!" symbol on a U.S. keyboard

To create an exclamation mark using a U.S. keyboard, hold down the Shift key and press number one on top of the keyboard.

Creating the "!" symbol on a smartphone or tablet

To create an exclamation mark on a smartphone or tablet, open the keyboard and go into the numbers (123) or symbols (sym) section. Find and press your finger on the ! symbol.

How is an exclamation mark used with a computer?

The picture below is an example of where you may see exclamation marks in Microsoft Windows. As can be seen, there are five exclamation marks on five devices listed in the Windows Device Manager. These exclamation marks indicate errors with these hardware devices.

Exclamation mark in Windows Device Manager

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.
  • A shebang to help scripts, such as Perl scripts, to identify the location of Perl.

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.

!=, Bang, Keyboard terms, Whack