Emmet Flashcards

1
Q

Add HTML boilerplate

A

! + tab

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

add a tag without writing > or

A

div + tab

a + tab

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

add a tag without writing > or < and set its class

A

div.className + tab

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

add a tag without writing > or < and set its id

A

div#idName + tab

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

add a tag without writing > or < and set its id and class

A

div.className#idName + tab

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

create a DIV (a div mind you) without typing div or > or < and set its id and/or class

A

.className + tab

and it assumes that you want a div

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

create an element with a specific attribute without typing > or

A

div[height=”12em”]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

create a DIV with a specific attribute without typing > or < .

A

[height=”12em”]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

create a div with a child

A

div>span

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

to create elements with emmet, you more or less use CSS selectors
t or f

A

t

but with no spaces

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

add 3 li in a ul

make 2 divs each with 2 spans

A

ul>li*3

div2>span2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

add text to an element

add a number sequence to ANY text when adding multiple elements

A

div{text here}

div3{text here$} or div3.className-$

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

add a number sequence to text when adding multiple elements with leading zeros

A

$$
for
01

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

add sibling

A

div+div

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

add a sibling after we’ve already created a child

2 ways

A

div>span^div>span
or
(div>span)+div>span

How well did you know this?
1
Not at all
2
3
4
5
Perfectly