your image

Keyboard Shortcuts

w3schools
Related Topic
:- HTML CSS

Keyboard Shortcuts

PreviousNext

Keyboard Shortcuts For Windows and Mac

Keyboard shortcuts are often used in modern operating systems and computer software programs.

Learning and using keyboard shortcuts can save you a lot of time.

Basic Shortcuts

DescriptionWindowsMac OSEdit menuAlt + ECtrl + F2 + FFile menuAlt + FCtrl + F2 + EView menuAlt + VCtrl + F2 + VSelect all textCtrl + ACmd + ACopy textCtrl + CCmd + CFind textCtrl + FCmd + FFind and replace textCtrl + HCmd + FNew DocumentCtrl + NCmd + NOpen a fileCtrl + OCmd + OPrint optionsCtrl + PCmd + PSave fileCtrl + SCmd + SPaste textCtrl + VCmd + VCut textCtrl + XCmd + XRedo textCtrl + YShift + Cmd + ZUndo textCtrl + ZCmd + Z

Text Editing

DescriptionWindowsMac OSCursor Movement

Go to the right or to the beginning of next line breakRight ArrowRight ArrowGo to the left or to the end of previous line breakLeft ArrowLeft ArrowGo up one rowUp ArrowUp ArrowGo down one rowDown ArrowDown ArrowGo to the beginning of the current lineHomeCmd + Left ArrowGo to the end of the current lineEndCmd + Right ArrowGo to the beginning of the documentCtrl + HomeCmd + Up ArrowGo to the end of the documentCtrl + EndCmd + Down ArrowMove up one framePage UpFn + Up ArrowMove down one framePage DownFn + Down ArrowGo to beginning of previous wordCtrl + Left ArrowOption + Left ArrowGo to beginning of next wordCtrl + Right ArrowOption + Right ArrowGo to beginning of line breakCtrl + Up ArrowCmd + Left ArrowGo to end of line breakCtrl + Down ArrowCmd + Right Arrow


Text Selection

Select characters to the leftShift + Left ArrowShift + Left ArrowSelect characters to the rightShift + Right ArrowShift + Right ArrowSelect lines upwardsShift + Up ArrowShift + Up ArrowSelect lines downwardsShift + Down ArrowShift + Down ArrowSelect words to the leftShift + Ctrl + LeftShift + Opt + LeftSelect words to the rightShift + Ctrl + RightShift + Opt + RightSelect paragraphs to the leftShift + Ctrl + UpShift + Opt + UpSelect paragraphs to the rightShift + Ctrl + DownShift + Opt + DownSelect text between the cursor and the beginning of the current lineShift + HomeCmd + Shift + Left ArrowSelect text between the cursor and the end of the current lineShift + EndCmd + Shift + Right ArrowSelect text between the cursor and the beginning of the documentShift + Ctrl + HomeCmd + Shift + Up Arrow or Cmd + Shift + Fn + Left ArrowSelect text between the cursor and the end of the documentShift + Ctrl + EndCmd + Shift + Down Arrow or Cmd + Shift + Fn + Right ArrowSelect one frame at a time of text above the cursorShift + Page UpShift + Fn + Up ArrowSelect one frame at a time of text below the cursorShift + Page DownShift + Fn + Down ArrowSelect all textCtrl + ACmd + AFind textCtrl + FCmd + F


Text Formatting

Make selected text boldCtrl + BCmd + BMake selected text italicCtrl + ICmd + IUnderline selected textCtrl + UCmd + UMake selected text superscriptCtrl + Shift + =Cmd + Shift + =Make selected text subscriptCtrl + =Cmd + =


Text Editing

Delete characters to the leftBackspaceBackspaceDelete characters to the rightDeleteFn + BackspaceDelete words to the rightCtrl + DelCmd + BackspaceDelete words to the leftCtrl + BackspaceCmd + Fn + BackspaceIndentTabTabOutdentShift + TabShift + TabCopy textCtrl + CCmd + CFind and replace textCtrl + HCmd + FPaste textCtrl + VCmd + VCut textCtrl + XCmd + XRedo textCtrl + YShift + Cmd + ZUndo textCtrl + ZCmd + Z

ADVERTISEMENT

 

Web Browsers

DescriptionWindowsMac OSNavigation

Scroll down a frameSpace or Page DownSpace or Fn + Down ArrowScroll up a frameShift + Space or Page UpShift + Space or Fn + Up ArrowGo to bottom of the pageEndCmd + Down ArrowGo to top of the pageHomeCmd + Up ArrowGo backAlt + Left Arrow or BackspaceCmd + Left ArrowGo forwardAlt + Right Arrow or Shift + BackspaceCmd + Right ArrowRefresh a webpageF5Cmd + RRefresh a webpage (no cache)Ctrl + F5Cmd + Shift + RStopEscEscToggle full-screenF11Cmd + Shift + FZoom inCtrl + +Cmd + +Zoom outCtrl + -Cmd + -Zoom 100% (default)Ctrl + 0Cmd + 0Open homepageAlt + HomeOption + Home or Option + Fn + Left ArrowFind textCtrl + FCmd + F


Tab / Window Management

Open a new tabCtrl + TCmd + TClose current tabCtrl + WCmd + WClose all tabsCtrl + Shift + WCmd + QClose all tabs except the current tabCtrl + Alt + F4Cmd + Opt + WGo to next tabCtrl + TabControl + Tab or Cmd + Shift + Right ArrowGo to previous tabCtrl + Shift + TabShift + Control + Tab or Cmd + Shift + Left ArrowGo to a specific tab numberCtrl + 1-8Cmd + 1-8Go to the last tabCtrl + 9Cmd + 9Reopen the last closed tabCtrl + Shift + TCmd + Shift + TOpen a new windowCtrl + NCmd + NClose current windowAlt + F4Cmd + WGo to next windowAlt + TabCmd + TabGo to previous windowAlt + Shift + TabCmd + Shift + TabReopen the last closed windowCtrl + Shift + N
Open links in a new tab in the backgroundCtrl + ClickCmd + ClickOpen links in a new tab in the foregroundCtrl + Shift + ClickCmd + Shift + ClickPrint current webpageCtrl + PCmd + PSave current webpageCtrl + SCmd + S


Address Bar

Cycle between toolbar, search bar, and page elementsTabTabGo to browser's address barCtrl + L or Alt + DCmd + LFocus and select the browser's search barCtrl + ECmd + E / Cmd + KOpen the address bar location in a new tabAlt + EnterOpt + EnterDisplay a list of previously typed addressesF4
Add "www." to the beginning and ".com" to the end of the text typed in the address bar (e.g., type "w3schools" and press Ctrl + Enter to open "www.w3schools.com")Ctrl + EnterCmd + Enter or Control + Enter


Bookmarks

Open the bookmarks menuCtrl + BCmd + BAdd bookmark for current pageCtrl + DCmd + Opt + B or Cmd + Shift + BOpen browsing historyCtrl + HCmd + Shift + H or Cmd + YOpen download historyCtrl + JCmd + J or Cmd + Shift + J

Screenshots

DescriptionWindowsMac OSSave screenshot of the whole screen as file
Cmd + Shift + 3Copy screenshot of the whole screen to the clipboardPrtScr (Print Screen) or Ctrl + PrtScrCmd + Ctrl + Shift + 3Save screenshot of window as file
Cmd + Shift + 4, then SpaceCopy screenshot of window to the clipboardAlt + PrtScrCmd + Ctrl + Shift + 4, then SpaceCopy screenshot of wanted area to the clipboard
Cmd + Ctrl + Shift + 4Save screenshot of wanted area as file
Cmd + Shift + 4

Comments