The semicolon is a punctuation mark and symbol. It resembles like a period above a comma (;). It is on the same key as the colon (:) on standard United States QWERTY keyboard.
Where is the semicolon key on the keyboard?
Below is an overview of a computer keyboard with the semicolon key highlighted in blue.
- Where is the semicolon key on the keyboard?
- How to create the ‘;’ symbol
- How is a semicolon used?
- What is the other symbol on the semicolon key?
- Related information.
- Keyboard help and support.
How to create the ‘;’ symbol
Creating the ‘;’ symbol on a U.S. keyboard
To create the semicolon symbol using a U.S. keyboard, press the semicolon key. It is on the same key as the colon ( : ), directly to the right of the letter ‘L’ key.
Creating the ‘;’ symbol on a smartphone or tablet
To create a tilde on a smartphone or tablet open the keyboard and go into the numbers (123) or symbols (sym) section and then tap the ‘;’ symbol.
Doing the Alt code Alt+59 can also create a semicolon.
How is a semicolon used?
Below are some different examples of where a semicolon is used today.
- The semicolon is used in many computer programming to finish an instruction. For example, in the below print statement the trailing semicolon lets the programming interpreter that it is the end of the line.
print “Hello world!”;
- A semicolon may also be used as a delimiter to separate text. For example, if the Windows path has more than one directory each directory is separated by a semicolon.
- Other programming languages like AutoHotkey use a semicolon for non executable statements.
- The semicolon may be used with a right parenthesis in text or online messages to denote a winking face ;). It is also known as an emoticon.
What is the other symbol on the semicolon key?
On U.S. keyboards, the semicolon key is shared with the colon key, which may be shown next to or above the backslash symbol. To create the colon, hold down the Shift while also pressing ;.
Colon, Keyboard terms, Nonexecutable statement, Punctuation
Related information
- Computer keyboard keys and explanations.
- Keyboard help and support.