HTML MEDIA FILES Flashcards

1
Q

tag allows developers to link and
display an image in an HTML page.

A

<img></img>

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

It is a single tag and requires the src and alt
attributes to be set.

A

image element
<img></img>

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

this defines the URL of an image. The
file format of images can be JPEG, GIF or
PNG.

A

src

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

this defines an alternate text for an
image when it fails to load.

A

alt

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

allows developers to display an
audio file in an HTML page.

A

<audio> tag
</audio>

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

This denotes that the audio will start
playing as soon as it is loaded.

A

autoplay

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

This denotes that the audio controls such
as play and pause buttons should be displayed.

A

controls

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

This denotes that the audio will replay every
time it is finished.

A

loop

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

This denotes how the author thinks the
audio should be loaded when the page loads. The possible values of this attribute are auto, metadata
or none.

A

preload

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

This defines the URL of an audio file. The three supported file formats are MP3, WAV and OGG.

A

src

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

allows developers to display a
video file in an HTML page.

A

<video> tag
</video>

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

This defines the height of the video player
through pixels.

A

height

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

This defines the width of the video player
through pixels.

A

width

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

This denotes whether the audio of the video
player is muted (no sounds)

A

muted

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

allows developer to specify more than one
sources for audio or video elements.

A

<source></source>

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