10 Very Useful HTML Shortcuts in VS Code
(Beginner Friendly)
• ! → Creates the full HTML boilerplate structure.
• ul>li*5 → Creates an unordered list with 5 list items.
• [Link] → Creates a div with class='container'.
• div#header → Creates a div with id='header'.
• img → Quickly creates an image tag with src and alt attributes.
• a → Creates a hyperlink tag with href attribute.
• div*3 → Creates three div elements instantly.
• nav>ul>li*4 → Quickly generates a simple navigation menu structure.
• table>tr*3>td*3 → Creates a 3x3 table structure.
• input:email → Generates an email input field for forms.
Tip: Type the shortcut in an HTML file in Visual Studio Code and press Enter or Tab to expand it
using Emmet.