HTML Media
- Which element is used for inserting more than one audio file?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
<src> provides or states location i.e Url of audio file. For inserting more than one audio file, use <source> instead of src attribute between <audio> and </audio>. This can be important because many browser support different formats for audio. For example MP3 is supported by Chrome6+, Safari 5+.
- What is the work of controls?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
Controls attributes specify if the player is displaying controls or not. If one does not use it no control will be display by default. One can set his own control by using JavaScript. Syntax: <audio src=”test.ogg” controls autoplay>