Emmet Cheat Sheet
A searchable, printable Emmet reference — nesting operators, multiplication, grouping, attributes, HTML and CSS abbreviations. Free.
Nesting operators
8div>ul>li
div+p+blockquote
div+div>p>span+em
div+div>p>span+em^bq
div+div>p>span+em^^^bq
nav>ul>li*4>a
ul>li>a[href=#]{Link}
div>p+p+p
Multiplication & numbering
9ul>li*5
li.item$*3
li.item$$$*3
li.item$@-*3
li.item$@3*5
li.item$@-3*5
h$[title=item$]{Header $}*3
ul>li*3>a{Link $}
td*5
Grouping
8div>(header>ul>li*2>a)+footer>p
(div>dl>(dt+dd)*3)+footer>p
(li>a)*5
ul>(li>a{Item $})*4
(header+main+footer)
table>(tr>td*3)*4
(div.col)*2
section>(h2+p)*3
ID, class & attributes
10div#header
div.title
p.class1.class2.class3
form#search.wide
#page
.card
td[title="Hello" colspan=3]
a[href=# data-id=5]
input[type=text required]
img[src=logo.png alt=Logo]
Text & implicit tag names
9a{Click me}
a{click}+b{here}
a>{click}+b{here}
p>{Text }+a{link}+{ more}
.wrap>.content
em>.hint
ul>.item*3
table>.row>.col
select>.opt*3
HTML boilerplate
10!
html:5
!!!
meta:utf
meta:vp
link
link:css
link:favicon
script:src
doc
Common HTML abbreviations
14a
a:mail
img
btn
form:post
input:email
input:password
input:checkbox / input:radio
input:submit
sel>opt*3
label+input
tarea
table+
ol+ / ul+ / dl+
CSS abbreviations
15m10
p10-20
m10-auto
w100 / h50
df
dib / dn
pos:a / pos:r / pos:f
t0+l0
fz14
fwb / fw700
c#f00
bgc#fff
bd+
tac / tar
bdrs5
CSS values & units
11m10
m10p
m1.5
m10e
m10r
m10x
w100p
m-10
m10-20-30-40
lh1.5
fz2r
Vendor prefixes
9-bdrs
-wm-trf
-w-bxsh
trf:r
trf:s
trs
anim
us:n
-super-foo
Wrap & editor actions
11Wrap with Abbreviation
ul>li*
a[href=$#]{$#}
Balance (outward/inward)
Go to Matching Pair
Remove Tag
Split/Join Tag
Toggle Comment
Increment Number by 1/10/0.1
Select Next/Previous Item
Update Image Size
No entry matches “:q”.
About Emmet Cheat Sheet
This Emmet cheat sheet turns the abbreviation syntax into one searchable page: nesting operators, multiplication and numbering, grouping, ID, class and attribute syntax, text and implicit tag names, the HTML boilerplate, common HTML abbreviations, CSS abbreviations, CSS values and units, vendor prefixes, and the wrap and editor actions.
Emmet pays for itself once the operators stick — the child, sibling and climb-up characters, the multiplication and $ numbering that generate a whole list, and the CSS shorthands that expand a property and its value from three letters. Every row shows the abbreviation and the markup or CSS it expands to.
Like every cheat sheet in this group it is free and client-side: filter rows live with the search box, hop between sections with the sticky table of contents, copy any abbreviation with one click and print the page for reference in your editor.
How to use Emmet Cheat Sheet
- Open the sheet and review the sections, from Nesting operators to Wrap & editor actions.
- Search for a keyword such as numbering, boilerplate or grid to filter every row live.
- Jump to CSS abbreviations when you want the property shorthands rather than the markup ones.
- Click an abbreviation or its copy icon to copy it to your clipboard, then expand it in your editor.
- Use Print for a paper copy of the full Emmet reference.