Emmet Abbreviations (VS Code / WebStorm)
Emmet / PatternResult
!Generate full HTML5 boilerplate
div.class#idDiv with class and ID
ul>li*5UL with 5 LI children
div>p+spanDiv containing P then Span sibling
h1{Hello World}H1 with text content
a[href=#]Anchor with href attribute
input:textInput type="text"
input:emailInput type="email"
img[src alt]Image with src and alt attributes
table>tr*3>td*4Table: 3 rows, 4 columns each
link:cssLink stylesheet tag
script:srcScript tag with src attribute
meta:vpMeta viewport tag
loremInsert Lorem Ipsum paragraph
lorem5Insert 5-word Lorem Ipsum
HTML Character Entities
EntityOutput
 Non-breaking space
&Ampersand &
&lt; / &gt;Less than / Greater than < >
&copy;Copyright symbol ©
&reg;Registered trademark ®
&trade;Trademark ™
&mdash;Em dash —
&ndash;En dash –
&hellip;Ellipsis …
&quot;Double quote "
&apos;Apostrophe '
&euro;Euro sign €
&pound;Pound sign £
&hearts;Heart ♥
&check;Check mark ✓
Semantic HTML5 Elements
ElementUse Case
<header>Site or section header
<nav>Navigation links block
<main>Main content (one per page)
<article>Self-contained content (blog post, card)
<section>Thematic grouping with heading
<aside>Sidebar / tangentially related content
<footer>Site or section footer
<figure>Image with optional caption
<figcaption>Caption for <figure> element
<details> + <summary>Native accordion/disclosure widget
<dialog>Native modal dialog element
<time datetime="...">Machine-readable date/time
<mark>Highlighted / relevant text
<abbr title="...">Abbreviation with tooltip
Meta Tags & SEO Essentials
TagPurpose
<meta charset="UTF-8">Character encoding (always first)
<meta name="viewport" content="width=device-width, initial-scale=1">Responsive viewport (mobile)
<meta name="description" content="...">Page description for search engines
<meta name="robots" content="index,follow">Allow search engine indexing
<meta property="og:title" content="...">Open Graph title (social sharing)
<meta property="og:image" content="...">Open Graph image for link previews
<link rel="canonical" href="...">Canonical URL to prevent duplicate content
<link rel="preload" as="font">Preload critical fonts