The Basic Layout and What Each Key Does
A computer keyboard has about 104 keys arranged in a standard pattern. The largest section in the middle holds the letter keys (A through Z), number keys (0 through 9), and punctuation keys (period, comma, question mark). Above the letters sit the function keys labeled F1 through F12, which perform different tasks depending on what program you are using. On the far right is the numeric keypad — a smaller grid of number and math symbol keys that lets you type numbers faster if you use them often.
The keys along the bottom row control spacing and editing. The spacebar is the longest key and adds a space between words. The Backspace key (top right of the letter section) deletes the character to the left of your cursor. The Delete key removes the character to the right. The Enter or Return key moves your cursor to a new line.
On the left and right edges sit the modifier keys: Shift, Control (Ctrl), and Alt. These keys do not type anything by themselves — instead, they change what other keys do when you press them together. Shift makes letters uppercase and accesses the symbol on number keys. Ctrl and Alt unlock special commands in programs.
Key Takeaways
- Hold Shift and press a letter to type uppercase; hold Shift and press a number key to type the symbol above it.
- The Backspace key deletes text behind your cursor, while Delete removes text in front of it.
- Ctrl+C copies selected text, Ctrl+X cuts it, and Ctrl+V pastes it — these shortcuts work in almost every program.
- The arrow keys move your cursor up, down, left, and right without deleting anything.
- Caps Lock turns on permanent uppercase typing; press it again to turn it off.
Typing Letters and Numbers
To type a letter, straightforward press the key with that letter. The character appears on your screen where the cursor (a blinking line) is positioned. If you want an uppercase letter, hold down the Shift key with one hand and press the letter with the other. Release both at the same time. For example, to type a capital A, hold Shift and tap A.
Numbers work the same way — press the key with the number you want. If you need the symbol above a number (like ! for 1, @ for 2, or # for 3), hold Shift and press that number key. The symbols vary slightly by keyboard layout, but the principle is the same: Shift unlocks the secondary character on each key.
If you type uppercase letters often, use the Caps Lock key (left side, above Shift). Press it once and all letters you type will be uppercase until you press Caps Lock again to turn it off. A small light on the keyboard usually shows when Caps Lock is on. Many people accidentally turn it on and wonder why their typing looks wrong, so check for that light if your letters suddenly become all capitals.
Using Modifier Keys for Common Tasks
The modifier keys — Shift, Ctrl, and Alt — are most powerful when combined with other keys. Ctrl+C copies whatever text or item you have selected. Ctrl+X cuts it (removes it and saves it). Ctrl+V pastes what you copied or cut into a new location. These three shortcuts work in nearly every program on a computer, from email to word processors to web browsers.
Ctrl+Z undoes your last action — press it multiple times to undo several steps. Ctrl+A selects all text on the page or in the document. Ctrl+S saves your work. Ctrl+F opens a search box so you can find a word or phrase on the page. Learning these six shortcuts will speed up almost any task you do on a computer.
The Alt key is less commonly used in everyday typing, but it unlocks special features in some programs. In web browsers, Alt+Left Arrow takes you back to the previous page, and Alt+Right Arrow moves forward. The exact Alt combinations vary by program, so you may need to check the program's menu if you want to learn its specific shortcuts.
Moving Your Cursor Without Deleting
The arrow keys — four keys arranged in a cross shape on the right side of the keyboard — move your cursor up, down, left, and right without changing or deleting any text. Press the right arrow to move one space to the right, or the left arrow to move one space left. The up and down arrows move between lines. This is useful when you need to position your cursor in the middle of a sentence to add or fix something.
The Home key jumps your cursor to the beginning of the current line. The End key jumps to the end of the line. Page Up and Page Down scroll through long documents one screen at a time. If you hold Ctrl while pressing an arrow key, the cursor jumps by whole words instead of single characters — much faster for moving through a long paragraph.
Selecting and Editing Text
To select text (highlight it so you can copy, cut, or delete it), click at the start of the text with your mouse, then hold Shift and click at the end. The text between those two points turns highlighted. Alternatively, click and drag your mouse across the text you want to select.
Once text is selected, you can delete it by pressing Backspace or Delete. You can copy it with Ctrl+C, cut it with Ctrl+X, or type new text to replace it — the selected text disappears and your new typing takes its place. If you make a mistake, press Ctrl+Z when ready to undo the last action and get your text back.
You can also select text using only the keyboard. Click where you want to start, then hold Shift and press the arrow keys to extend the selection one character at a time. Hold Shift+Ctrl and press the right arrow to select one word at a time, which is faster for selecting multiple words.
Special Keys and What They Do
The Tab key (above Caps Lock) inserts a wide space, usually used to indent the first line of a paragraph or to move between fields in a form. In a web form with multiple boxes to fill in, pressing Tab moves your cursor to the next box automatically.
The Escape key (top left corner) closes pop-up windows or cancels an action you started. If a menu or dialog box appears and you want to get rid of it without making a choice, press Escape.
The Print Screen key captures an image of everything on your screen and saves it to your clipboard, so you can paste it into another program. The Scroll Lock key is rarely used in modern programs. The Pause key also has limited use in everyday computing.
Avoiding Common Mistakes
The most frequent mistake is accidentally pressing Caps Lock and not noticing. If your text suddenly becomes all uppercase or all lowercase when you expect mixed case, check the Caps Lock light. Press Caps Lock once to turn it off and try again.
Another common error is pressing Backspace when you meant to press Delete, or vice versa. Remember: Backspace deletes behind the cursor (to the left), and Delete removes in front of the cursor (to the right). If you delete something by accident, press Ctrl+Z right away to undo it.
Holding Shift too long or too short can produce the wrong character. For example, if you hold Shift and press 2, you get @. If you press 2 without Shift, you get 2. Practice the timing — press Shift, tap the other key, and release both together. It becomes automatic after a few days of typing.
Do not rest your fingers on the keyboard when you are not typing. Leaning on keys can set up them accidentally or cause repeated characters to appear on screen. Keep your hands above the keyboard and touch the keys only when you intend to type.
Frequently Asked Questions
What is the difference between Backspace and Delete?
Backspace deletes the character to the left of your cursor (behind where you are typing). Delete removes the character to the right of your cursor (in front of where you are typing). If your cursor is in the middle of a word, Backspace erases the letter before the cursor, and Delete erases the letter after it.
How do I type a capital letter without using Shift?
Press the Caps Lock key once to turn on permanent uppercase mode. All letters you type will be capital until you press Caps Lock again to turn it off. A small light on your keyboard shows when Caps Lock is active. This is useful if you need to type many capital letters in a row, but remember to turn it off afterward.
What does Ctrl+Z do?
Ctrl+Z undoes your last action. If you delete text by mistake, press Ctrl+Z and the text reappears. You can press Ctrl+Z multiple times to undo several actions in reverse order. Most programs support undo, making it one of the most useful keyboard shortcuts to know.
How do I select all the text on a page?
Press Ctrl+A to select all text in the current document or web page. Everything becomes highlighted. You can then copy it with Ctrl+C, delete it, or replace it by typing new text. This shortcut works in almost every program.
Can I move my cursor without using the mouse?
Yes. Use the arrow keys to move left, right, up, or down one character or line at a time. Press Home to jump to the start of a line or End to jump to the end. Press Ctrl+Home to go to the beginning of a document and Ctrl+End to go to the end. These keyboard-only movements are faster once you learn them.