About Lesson
Here are some commonly used HTML-related keyboard shortcuts for both Windows and Mac operating systems:
Windows:
- Ctrl + S: Save the current HTML document.
- Ctrl + C: Copy selected text or element.
- Ctrl + X: Cut selected text or element.
- Ctrl + V: Paste copied or cut text or element.
- Ctrl + Z: Undo the last action.
- Ctrl + Y: Redo the last undone action.
- Ctrl + A: Select all text or elements.
- Ctrl + F: Find text within the HTML document.
- Ctrl + B: Make selected text or element bold.
- Ctrl + I: Make selected text or element italic.
- Ctrl + U: Underline selected text or element.
- Ctrl + K: Insert or edit a hyperlink.
- Ctrl + ]: Increase the indentation of selected text or element.
- Ctrl + [: Decrease the indentation of selected text or element.
- Ctrl + Shift + >: Increase the font size of selected text.
- Ctrl + Shift + <: Decrease the font size of selected text.
- Ctrl + Shift + P: Toggle the HTML preview mode.
- F5: Refresh the HTML document in the browser.
Mac:
- Command + S: Save the current HTML document.
- Command + C: Copy selected text or element.
- Command + X: Cut selected text or element.
- Command + V: Paste copied or cut text or element.
- Command + Z: Undo the last action.
- Command + Shift + Z: Redo the last undone action.
- Command + A: Select all text or elements.
- Command + F: Find text within the HTML document.
- Command + B: Make selected text or element bold.
- Command + I: Make selected text or element italic.
- Command + U: Underline selected text or element.
- Command + K: Insert or edit a hyperlink.
- Command + ]: Increase the indentation of selected text or element.
- Command + [: Decrease the indentation of selected text or element.
- Command + Shift + >: Increase the font size of selected text.
- Command + Shift + <: Decrease the font size of selected text.
- Command + Option + P: Toggle the HTML preview mode.
- Command + R: Refresh the HTML document in the browser.
These are some commonly used keyboard shortcuts in HTML editing. Keep in mind that keyboard shortcuts may vary depending on the text editor or IDE you are using for HTML development.
Join the conversation