YouTip LogoYouTip

Html Keyboardshortcuts

Keyboard Shortcuts


You can save time by using keyboard shortcuts.


Keyboard Shortcuts for Windows and Mac

In modern operating systems and computer software programs, keyboard shortcuts are often used.

Using keyboard shortcuts can help you save a lot of time.


Basic Shortcuts

DescriptionWindowsMac OS
Edit MenuAlt + ECtrl + F2 + F
File MenuAlt + FCtrl + F2 + E
View MenuAlt + VCtrl + F2 + V
Select All TextCtrl + ACmd + A
Copy TextCtrl + CCmd + C
Find TextCtrl + FCmd + F
Find and Replace TextCtrl + HCmd + F
New DocumentCtrl + NCmd + N
Open FileCtrl + OCmd + O
Print OptionsCtrl + PCmd + P
Save FileCtrl + SCmd + S
Paste TextCtrl + VCmd + V
Cut TextCtrl + XCmd + X
Redo TextCtrl + YShift + Cmd + Z
Undo TextCtrl + ZCmd + Z

Text Editing

DescriptionWindowsMac OS
Cursor Movement
Move the text insertion cursor to the right or to the beginning of the next lineRight ArrowRight Arrow
Move the text insertion cursor to the left or to the end of the previous lineLeft ArrowLeft Arrow
Move the text insertion cursor up one lineUp ArrowUp Arrow
Move the text insertion cursor down one lineDown ArrowDown Arrow
Move the text insertion cursor to the beginning of the current lineHomeCmd + Left Arrow
Move the text insertion cursor to the end of the current lineEndCmd + Right Arrow
Move the text insertion cursor to the beginning of the documentCtrl + HomeCmd + Up Arrow
Move the text insertion cursor to the end of the documentCtrl + EndCmd + Down Arrow
Move the text insertion cursor to the previous screenPage UpFn + Up Arrow
Move the text insertion cursor to the next screenPage DownFn + Down Arrow
Move the text insertion cursor to the left to the beginning of the previous wordCtrl + Left ArrowOption + Left Arrow
Move the text insertion cursor to the right to the beginning of the next wordCtrl + Right ArrowOption + Right Arrow
Move the text insertion cursor to the beginning of the lineCtrl + Up ArrowCmd + Left Arrow
Move the text insertion cursor to the end of the lineCtrl + Down ArrowCmd + Right Arrow
Text Selection
Select the character to the left of the text insertion cursorShift + Left ArrowShift + Left Arrow
Select the character to the right of the text insertion cursorShift + Right ArrowShift + Right Arrow
Select a line of text upwardsShift + Up ArrowShift + Up Arrow
Select a line of text downwardsShift + Down ArrowShift + Down Arrow
Select the word to the left of the text insertion cursorShift + Ctrl + LeftShift + Opt + Left
Select the word to the right of the text insertion cursorShift + Ctrl + RightShift + Opt + Right
Select a paragraph of text to the leftShift + Ctrl + UpShift + Opt + Up
Select a paragraph of text to the rightShift + Ctrl + DownShift + Opt + Down
Select the text between the insertion cursor and the beginning of the current lineShift + HomeCmd + Shift + Left Arrow
Select the text between the insertion cursor and the end of the current lineShift + EndCmd + Shift + Right Arrow
Select the text between the insertion cursor and the beginning of the documentShift + Ctrl + HomeCmd + Shift + Up Arrow or Cmd + Shift + Fn + Left Arrow
Select the text between the insertion cursor and the end of the documentShift + Ctrl + EndCmd + Shift + Down Arrow or Cmd + Shift + Fn + Right Arrow
Select one screen upwardsShift + Page UpShift + Fn + Up Arrow
Select one screen downwardsShift + Page DownShift + Fn + Down Arrow
Select All TextCtrl + ACmd + A
Find TextCtrl + FCmd + F
Text Formatting
Bold selected textCtrl + BCmd + B
Italicize selected textCtrl + ICmd + I
Underline selected textCtrl + UCmd + U
Set selected text as superscriptCtrl + Shift + =Cmd + Shift + =
Set selected text as subscriptCtrl + =Cmd + =
Text Editing
Delete the character to the left of the text insertion cursorBackspaceBackspace
Delete the character to the right of the text insertion cursorDeleteFn + Backspace
Delete the word to the right of the text insertion cursorCtrl + DelCmd + Backspace
Delete the word to the left of the text insertion cursorCtrl + BackspaceCmd + Fn + Backspace
Increase indentTabTab
Decrease indentShift + TabShift + Tab
Copy TextCtrl + CCmd + C
Find and Replace TextCtrl + HCmd + F
Paste TextCtrl + VCmd + V
Cut TextCtrl + XCmd + X
Redo TextCtrl + YShift + Cmd + Z
Undo TextCtrl + ZCmd + Z

Web Browser

DescriptionWindowsMac OS
Navigation
Scroll down the pageSpace or Page DownSpace or Fn + Down Arrow
Scroll up the pageShift + Space or Page UpShift + Space or Fn + Up Arrow
Go to the bottom of the pageEndCmd + Down Arrow
Go to the top of the pageHomeCmd + Up Arrow
Go BackAlt + Left Arrow or BackspaceCmd + Left Arrow
Go ForwardAlt + Right Arrow or Shift + BackspaceCmd + Right Arrow
Refresh Web PageF5Cmd + R
Refresh Web Page (ignoring cache)Ctrl + F5Cmd + Shift + R
Stop LoadingEscEsc
Toggle Full ScreenF11Cmd + Shift + F
Zoom InCtrl + +Cmd + +
Zoom OutCtrl + -Cmd + -
Reset to 100% (Default)Ctrl + 0Cmd + 0
Open Home PageAlt + HomeOption + Home or Option + Fn + Left Arrow
Find TextCtrl + FCmd + F
Tab/Window Management
Open a new tabCtrl + TCmd + T
Close the current tabCtrl + WCmd + W
Close all tabsCtrl + Shift + WCmd + Q
Close all tabs except the current oneCtrl + Alt + F4Cmd + Opt + W
Go to the next tabCtrl + TabControl + Tab or Cmd + Shift + Right Arrow
Go to the previous tabCtrl + Shift + TabShift + Control + Tab or Cmd + Shift + Left Arrow
Go to a specific numbered tabCtrl + 1-8Cmd + 1-8
Go to the last tabCtrl + 9Cmd + 9
Reopen the last closed tabCtrl + Shift + TCmd + Shift + T
Open a new windowCtrl + NCmd + N
Close the current windowAlt + F4Cmd + W
Go to the next windowAlt + TabCmd + Tab
Go to the previous windowAlt + Shift + TabCmd + Shift + Tab
Reopen the last closed windowCtrl + Shift + N
Open a link in a background tabCtrl + ClickCmd + Click
Open a link in a foreground tabCtrl + Shift + ClickCmd + Shift + Click
Print the current web pageCtrl + PCmd + P
Save the current web pageCtrl + SCmd + S
Address Bar
Cycle focus between toolbar, search bar, and page elementsTabTab
Focus the browser's address barCtrl + L or Alt + DCmd + L
Focus and select the browser's search barCtrl + ECmd + E / Cmd + K
Open the address bar location in a new tabAlt + EnterCmd + Enter
Show a list of previously visited addressesF4
Append "www." to the beginning and ".com" to the end of text typed in the address bar (e.g., typing "baidu" then pressing Ctrl + Enter opens "www.baidu.com").Ctrl + EnterCmd + Enter or Control + Enter
Bookmarks
Open the Bookmarks menuCtrl + BCmd + B
Bookmark the current pageCtrl + DCmd + Opt + B or Cmd + Shift + B
Open Browsing HistoryCtrl + HCmd + Shift + H or Cmd + Y
Open Download HistoryCtrl + JCmd + J or Cmd + Shift + J

Screen Capture

DescriptionWindowsMac OS
Save a screenshot of the entire screen as a fileCmd + Shift + 3
Copy a screenshot of the entire screen to the clipboardPrtScr (Print Screen) or Ctrl + PrtScrCmd + Ctrl + Shift + 3
Save a screenshot of a window as a fileCmd + Shift + 4, then Space
Copy a screenshot of a window to the clipboardAlt + PrtScrCmd + Ctrl + Shift + 4, then Space
Copy a screenshot of a selected area to the clipboardCmd + Ctrl + Shift + 4
Save a screenshot of a selected area as a fileCmd + Shift + 4

Note: Due to different keyboard configurations, some shortcuts may not work for all users.

← Tag CiteHtml Httpmessages β†’