Sematic HTML Flashcards

1
Q

What is the header used for?

A

Introductory content containing < h1 > to < h6 > heading or navigational links

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

What is < nav > used for

A

Navigational links, it can go inside the header

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

What is the < main > tag used for?

A

The bulk of the content

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

What is the < footer > used for?

A

Information such as contact information, terms of use, etc.

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

What is the < section > element for?

A

To define parts of the code that relate to each other, a lot like the < div > element

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

What is the < article > element used for?

A

For defining where the article is

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

What is the < aside > element for

A

For information such as end notes, comments, pullout quotes, etc.

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

What is the < figure > element for?

A

For images

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

What is the < figcaption > for?

A

Photo captions, it goes inside the figure element

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

How do you add audio to a webpage?

A

< audio > < source src=”IAmAnAudioFile.mp3” type=”audio/mp3 > < / audio >

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

How do you add controls to an audio file

A

Add “controls” attribute to the audio element

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