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
Isadora
14 hours agoZachary
6 days agoLoren
11 days agoMarsha
16 days agoCristy
21 days agoRosendo
26 days agoGoldie
1 month agoColene
1 month agoJamal
1 month agoGertude
2 months agoGayla
2 months agoVincenza
2 months agoAllene
2 months agoMarica
2 months agoLuisa
3 months agoLezlie
3 months agoAlita
3 months agoChau
3 months agoAriel
2 months ago