Question Answer of HTML Audio Form Video
Question Answer of HTML Audio Form Video
POST:
</textarea>
7. What is the purpose of the "name" attribute in HTML form input fields?
To provide a name is to identify the field when the form is created.
Enable the computer to access the data given by the user
Indirectly the name attribute connects the input fields to the data that’s being sent to the
server for processing
8. Write the HTML code to create a checkbox group.
<form>
</form>
1. Submit Button:
1. Reset Button:
1. Button Element:
<button type="submit">Submit</button>
<button type="reset">Reset</button>
Questions on Video :
1. Using the <video> tag: Embed a video file directly into the HTML page.
2. Using the <embed> tag: Embed a video file from an external source.
3. Using the <object> tag: Embed a video file from an external source.
Questions on Audio :
1. MP3 (.mp3)
2. WAV (.wav)
3. OGG (.ogg)
To add controls to an audio file in HTML, use the controls attribute within the <audio> tag:
The "autoplay" attribute in HTML audio allows the audio file to play automatically as soon as the
page loads.
To make an audio file responsive in HTML, you can add the following attributes:
</audio>
The "loop" attribute in HTML audio allows the audio file to play repeatedly, restarting from the
beginning after it finishes.
<audio controls>
</audio>
10. How do you specify the width and height of an audio player in HTML?
To specify the width and height of an audio player in HTML, use the width and height attributes
within the <audio> tag: