Keyboard Shortcuts
Keyboard Shortcuts
Keyboard Shortcuts
Previous Next
Basic Shortcuts
Description Windows Mac OS
https://www.w3schools.com/tags/ref_keyboardshortcuts.asp 1/10
11/23/2017 Keyboard Shortcuts
Text Editing
Description Windows Mac OS
Cursor Movement
Go to the right or to the beginning of next line Right Arrow Right Arrow
break
Go to the left or to the end of previous line Left Arrow Left Arrow
break
https://www.w3schools.com/tags/ref_keyboardshortcuts.asp 2/10
11/23/2017 Keyboard Shortcuts
Text Selection
HTML CSS MORE
Select characters to the left Shift + Left Arrow Shift + Left Arrow
Select characters to the right Shift + Right Arrow Shift + Right Arrow
Select words to the left Shift + Ctrl + Left Shift + Opt + Left
Select words to the right Shift + Ctrl + Right Shift + Opt + Right
Select paragraphs to the right Shift + Ctrl + Down Shift + Opt + Down
Select text between the cursor and the Shift + Home Cmd + Shift + Left
beginning of the current line Arrow
Select text between the cursor and the end of Shift + End Cmd + Shift + Right
the current line Arrow
Select text between the cursor and the Shift + Ctrl + Home Cmd + Shift + Up
beginning of the document Arrow or Cmd + Shift
+ Fn + Left Arrow
Select text between the cursor and the end of Shift + Ctrl + End Cmd + Shift + Down
the document Arrow or Cmd + Shift
+ Fn + Right Arrow
Select one frame at a time of text above the Shift + Page Up Shift + Fn + Up
cursor Arrow
Select one frame at a time of text below the Shift + Page Down Shift + Fn + Down
cursor Arrow
Text Formatting
https://www.w3schools.com/tags/ref_keyboardshortcuts.asp 3/10
11/23/2017 Keyboard Shortcuts
Text Editing
Web Browsers
Description Windows Mac OS
Navigation
https://www.w3schools.com/tags/ref_keyboardshortcuts.asp 4/10
11/23/2017 Keyboard Shortcuts
Close all tabs except the current tab Ctrl + Alt + F4 Cmd + Opt + W
https://www.w3schools.com/tags/ref_keyboardshortcuts.asp 5/10
11/23/2017 Keyboard Shortcuts
Open links in a new tab in the background Ctrl + Click Cmd + Click
Open links in a new tab in the foreground Ctrl + Shift + Click Cmd + Shift + Click
Address Bar
Focus and select the browser's search bar Ctrl + E Cmd + E / Cmd + K
Open the address bar location in a new tab Alt + Enter Opt + Enter
Add "www." to the beginning and ".com" to the Ctrl + Enter Cmd + Enter or
end of the text typed in the address bar (e.g., Control + Enter
type "w3schools" and press Ctrl + Enter to
open "www.w3schools.com")
Bookmarks
https://www.w3schools.com/tags/ref_keyboardshortcuts.asp 6/10
11/23/2017 Keyboard Shortcuts
Screenshots
Description Windows Mac OS
Copy screenshot of the whole screen to the PrtScr (Print Screen) Cmd + Ctrl + Shift +
clipboard or Ctrl + PrtScr 3
Copy screenshot of window to the clipboard Alt + PrtScr Cmd + Ctrl + Shift +
4, then Space
Note: Due to different keyboard setups, some shortcuts may not be compatible for all users.
Previous Next
COLOR PICKER
HOW TO
Tabs
Dropdowns
https://www.w3schools.com/tags/ref_keyboardshortcuts.asp 7/10
11/23/2017 Keyboard Shortcuts
Accordions
HTML CSS MORE
Convert Weights
Animated Buttons
Side Navigation
Top Navigation
Modal Boxes
Progress Bars
Parallax
Login Form
HTML Includes
Google Maps
Range Sliders
Tooltips
Slideshow
Filter List
Sort List
SHARE
CERTIFICATES
HTML, CSS, JavaScript, PHP, jQuery, Bootstrap and XML.
Read More
REPORT ERROR
PRINT PAGE
FORUM
ABOUT
Top 10 Tutorials
HTML Tutorial
CSS Tutorial
JavaScript Tutorial
W3.CSS Tutorial
Bootstrap Tutorial
https://www.w3schools.com/tags/ref_keyboardshortcuts.asp 8/10
11/23/2017 Keyboard Shortcuts
SQL Tutorial
HTML CSS MORE PHP Tutorial
jQuery Tutorial
Angular Tutorial
XML Tutorial
Top 10 References
HTML Reference
CSS Reference
JavaScript Reference
W3.CSS Reference
Browser Statistics
PHP Reference
HTML Colors
HTML Character Sets
jQuery Reference
AngularJS Reference
Top 10 Examples
HTML Examples
CSS Examples
JavaScript Examples
W3.CSS Examples
HTML DOM Examples
PHP Examples
ASP Examples
jQuery Examples
Angular Examples
XML Examples
Web Certificates
HTML Certificate
CSS Certificate
JavaScript Certificate
jQuery Certificate
PHP Certificate
Bootstrap Certificate
XML Certificate
W3Schools is optimized for learning, testing, and training. Examples might be simplified to improve reading and basic
understanding. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full
correctness of all content. While using this site, you agree to have read and accepted our terms of use, cookie and privacy
policy. Copyright 1999-2017 by Refsnes Data. All Rights Reserved.
Powered by W3.CSS.
https://www.w3schools.com/tags/ref_keyboardshortcuts.asp 9/10
11/23/2017 Keyboard Shortcuts
https://www.w3schools.com/tags/ref_keyboardshortcuts.asp 10/10