Basic HTML Syntax Flashcards

1
Q

How do you use the image element in HTML5?

  1. <img></img>
  2. <image>
    </image>
  3. <img></img></img>
  4. <pic src=” alt>
A

<img></img>

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

How do you refer to a ‘higher’ directory than the one your html file is currently in?
Then, how do you refer to a section/fragement at the same time?

<a></a>
<a></a>

A

<a></a>

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

What would come before code like this?

srcset=”/images/boogle-400px.png #x, /images/boogle-600px.png”

A

src=”/images/boogle-200px.png”

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

What elements need a <source></source> child?

picture
video
img

A

picture
video

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

How can you expand a column?

colmerge=”2”
colspan=”2”
colexp=”2”

A

colspan=”2”

the same can be done with rows

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