JavaScript MCQ Scripted Media Question #5037
MCQ Single Best Answer Easy

QInvoking the Audio() function Object() { [native code] } requires which of the following parameters?

ID: #5037 Scripted Media 230 views
Question Info
#5037Q ID
EasyDifficulty
Scripted MediaTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A File type
  • B Music type
  • C Both File and Music
  • D Video type
Correct Answer: Option C

Explanation

The HTMLAudioElement interface provides access to the properties of <audio> elements and allows you to manipulate them. It is derived from the HTMLMediaElement interface. The Audio() constructor can take any file type containing audio as a parameter.
The HTMLAudioElement interface provides access to the properties and methods of <audio> elements. It is derived from the HTMLMediaElement interface. You can pass any file type containing audio as a parameter to the Audio() constructor.
The HTMLAudioElement interface gives you access to the properties of <audio> elements and allows you to control them. It is based on the HTMLMediaElement interface. The Audio() constructor takes any file type containing audio as a parameter.
The HTMLAudioElement interface provides access to the properties and methods of <audio> elements and is derived from the HTMLMediaElement interface. The Audio() constructor can accept any file type containing audio as a parameter.

Share This Question

Challenge a friend or share with your study group.