Answered

Select the correct answer from each drop-down menu.
Tanya wants to add a video with all its controls to her web page. The dimensions of the video are as follows:
width="260"
height="200"
What code should Tanya use to insert the video?
To insert the video, Tanya should add the following code:


="video/mp4">
Reset
Next



Answer :

To help Tanya insert a video with all its controls into her web page, she should use the HTML `` element and ensure the attributes and tags are correctly formatted. Here is the correct code she needs:

```html


Your browser does not support the video tag.

```

Here is a breakdown of each part of the code:

1. ``: This line defines the video element with the specified dimensions and includes the `controls` attribute, which adds playback controls like play, pause, volume, etc.

2. ``: This line specifies the source file for the video and its type. The `src` attribute includes the file name and path, and the `type` attribute specifies the video format.

3. `Your browser does not support the video tag.`: This message will display if the browser does not support the video tag.

4. ``: This tag closes the video element.

By using this code, Tanya will ensure that her video is embedded correctly with all the necessary controls and specified dimensions.

Other Questions