A web developer need to ensure that a message appears if the user's browser does not support the audio files on a web page.
How should this designer code the audio element?
A)

B)

C)

D)

To ensure that a message appears if the user's browser does not support the audio files on a web page, the developer should use the
Correct Usage:
Fallback Content: Place the message as fallback content inside the
Example:
<source src='audio/song.mp3' type='audio/mpeg' />
No mpeg support.
Explanation of Options:
Option A: Incorrect. The alt attribute is not valid for the <source> element.
Option B: Incorrect. The alt attribute is not valid for the
Option C: Incorrect. The alt attribute is used incorrectly in the
Option D: Correct. The message 'No mpeg support.' is placed correctly as fallback content inside the
W3C HTML5 Specification - The audio element
MDN Web Docs -
Using the fallback content inside the
Elenor
1 month agoBilly
2 months agoYuonne
2 months agoLettie
2 months agoSabra
2 months agoShawnda
2 months agoAdelle
2 months agoIsadora
3 months agoZachary
3 months agoLoren
3 months agoMarsha
4 months agoCristy
4 months agoRosendo
4 months agoGoldie
4 months agoColene
4 months agoJamal
4 months agoGertude
5 months agoGayla
5 months agoVincenza
5 months agoAllene
5 months agoMarica
5 months agoLuisa
6 months agoLezlie
6 months agoAlita
6 months agoChau
6 months agoTerrilyn
20 days agoRia
25 days agoVernice
1 month agoOcie
1 month agoAriel
5 months ago