How can audio files be played in HTML5? var sound = new Audio("file.wav");
Correct Answer: sound.play();
Explanation:
Note: This Question is unanswered, help us to find answer for this one
HTML 5 Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More HTML 5 MCQ Questions
You are writing the code for an HTML form and you want the browser to retain the form's input values. That is, if a user submits the form and presses the browser's back button, the fully populated form is displayed instead of a blank form. Which of the following HTML 5 attributes will you use?
Which event is fired when an element loses its focus in an HTML5 document?
Which HTML5 feature is capable of taking a screenshot of a web page?
Correct way to display a PDF file in the browser?
Which is true about the ARIA role attribute in HTML5?
Which tag's positioning is independent of the main flow of the document?
Which of the following is NOT a valid way to store a value in local storage?
In HTML5, contextmenu and spellcheck are:
Which of the following is NOT a supported attribute of the <ol> element in HTML 5.0?
Which event will be fired when the user presses the back button?