Keyboard Shortcuts For Windows and Mac
Keyboard Shortcuts For Windows and Mac
HTML CSS
Menu Log in
Keyboard Shortcuts
❮ Previous Next ❯
Learning and using keyboard shortcuts can save you a lot of time.
Basic Shortcuts
Description Windows Mac OS
https://www.w3schools.com/tags/ref_keyboardshortcuts.asp 1/11
8/17/2021 Keyboard Shortcuts
Print
options
HTML CSS Ctrl + P Cmd + P
Save file Ctrl + S Cmd + S
Text Editing
Description Windows Mac OS
Cursor Movement
https://www.w3schools.com/tags/ref_keyboardshortcuts.asp 2/11
8/17/2021 Keyboard Shortcuts
Text Selection
Select characters to the left Shift + Left Arrow Shift + Left Arrow
Select words to the left Shift + Ctrl + Left Shift + Opt + Left
Select text between the cursor and the Shift + Home Cmd + Shift +
beginning of the current line Left Arrow
Select text between the cursor and the Shift + End Cmd + Shift +
end of the current line Right Arrow
Select text between the cursor and the Shift + Ctrl + Cmd + Shift + Up
beginning of the document Home Arrow or Cmd +
Shift + Fn + Left
Arrow
Select text between the cursor and the Shift + Ctrl + End Cmd + Shift +
end of the document Down Arrow or
Cmd + Shift + Fn
+ Right Arrow
https://www.w3schools.com/tags/ref_keyboardshortcuts.asp 3/11
8/17/2021 Keyboard Shortcuts
Text Formatting
Text Editing
https://www.w3schools.com/tags/ref_keyboardshortcuts.asp 4/11
8/17/2021 Keyboard Shortcuts
HTML CSS
Web Browsers
Description Windows Mac OS
Navigation
Left Arrow
HTML CSS
Find text Ctrl + F Cmd + F
Close all tabs except the current tab Ctrl + Alt + F4 Cmd + Opt + W
https://www.w3schools.com/tags/ref_keyboardshortcuts.asp 6/11
8/17/2021 Keyboard Shortcuts
Address Bar
HTML CSS
Cycle between toolbar, search bar, and Tab Tab
page elements
Open the address bar location in a new Alt + Enter Opt + Enter
tab
Add "www." to the beginning and ".com" Ctrl + Enter Cmd + Enter or
to the end of the text typed in the Control + Enter
address bar (e.g., type "w3schools" and
press Ctrl + Enter to open
"www.w3schools.com")
Bookmarks
Screenshots
Description Windows Mac OS
https://www.w3schools.com/tags/ref_keyboardshortcuts.asp 7/11
8/17/2021 Keyboard Shortcuts
Note: Due to different keyboard setups, some shortcuts may not be compatible for
all users.
❮ Previous Next ❯
NEW
We just launched
W3Schools videos
Explore now
COLOR PICKER
https://www.w3schools.com/tags/ref_keyboardshortcuts.asp 8/11