ASWCode Tutorials

Full HTML Shortcut Cheat Sheet for Beginners & Professionals

HTML Keyboard Shortcut Cheat Sheet

This cheat sheet includes all important HTML and web development shortcuts to help you code faster and more efficiently.

1. General Shortcuts

ShortcutAction
Ctrl + NNew file
Ctrl + OOpen file
Ctrl + SSave file
Ctrl + Shift + SSave As
Ctrl + WClose file
Ctrl + QQuit editor
Ctrl + ZUndo
Ctrl + YRedo

2. Editing Shortcuts

ShortcutAction
Ctrl + CCopy
Ctrl + XCut
Ctrl + VPaste
Ctrl + ASelect All
Ctrl + FFind
Ctrl + HFind & Replace
Ctrl + DDuplicate line
Ctrl + Shift + KDelete line
Ctrl + ]Indent line
Ctrl + [Outdent line

3. HTML / Emmet Shortcuts

ShortcutAction
! + TabGenerate basic HTML template
div + TabCreate <div>
ul>li*3 + TabCreate list with 3 items
Ctrl + /Comment / Uncomment
Shift + Alt + DownDuplicate line
TabAuto-complete
Ctrl + SpaceTrigger suggestions

4. Browser / Testing Shortcuts

ShortcutAction
F12Open Developer Tools
Ctrl + Shift + IOpen DevTools
Ctrl + Shift + CInspect element
Ctrl + R / F5Reload page
Ctrl + Shift + RReload without cache
Ctrl + +Zoom in
Ctrl + -Zoom out
Ctrl + 0Reset zoom

5. Navigation / Multi-cursor Shortcuts (VS Code)

ShortcutAction
Ctrl + PQuick file open
Ctrl + TabSwitch files
Alt + ClickAdd cursor
Ctrl + DSelect next occurrence
Ctrl + Shift + LSelect all occurrences
Ctrl + Shift + \\Jump to matching bracket

Previous Lesson → HTML File Naming

← Back