Vidéo/Audio Flashcards

1
Q

What tag is used to integrate videos in HTML5?

A

<video>

## Footnote

This tag allows for the embedding of videos in web pages, particularly in the mp4 format.
</video>

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

Which video format is compatible with the majority of browsers?

A

mp4

The mp4 format is widely supported across different web browsers.

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

List three useful attributes for the <video> tag in HTML5.</video>

A
  • width
  • height
  • controls

Other attributes include autoplay, poster, and loop.

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

What attribute would you use to automatically start a video in HTML5?

A

autoplay

This attribute initiates playback as soon as the video is ready.

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

Fill in the blank: To include audio in HTML5, you use the _______ tag.

A

<audio>

## Footnote

This tag is specifically designed for embedding sound content.
</audio>

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

True or False: The <audio> tag can also use the autoplay attribute.</audio>

A

True

The autoplay attribute can be applied to audio elements as well.

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

What is one function of the loop attribute in the <audio> tag?</audio>

A

It repeats the audio playback

The loop attribute ensures that the audio plays continuously.

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

List two attributes that can be used with the <audio> tag.</audio>

A
  • autoplay
  • controls

The controls attribute allows users to play, pause, and adjust the volume.

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