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
3 months agoBilly
3 months agoYuonne
3 months agoLettie
3 months agoSabra
4 months agoShawnda
4 months agoAdelle
4 months agoIsadora
5 months agoZachary
5 months agoLoren
5 months agoMarsha
5 months agoCristy
5 months agoRosendo
5 months agoGoldie
6 months agoColene
6 months agoJamal
6 months agoGertude
6 months agoGayla
6 months agoVincenza
6 months agoAllene
7 months agoMarica
7 months agoLuisa
7 months agoLezlie
7 months agoAlita
8 months agoChau
8 months agoTerrilyn
2 months agoRia
2 months agoVernice
3 months agoOcie
3 months agoAriel
7 months ago