New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

WGU (KVO1) Web Development Applications Exam - Topic 2 Question 2 Discussion

Actual exam question for WGU's WGU (KVO1) Web Development Applications exam
Question #: 2
Topic #: 2
[All WGU (KVO1) Web Development Applications Questions]

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)

Show Suggested Answer Hide Answer
Suggested Answer: 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

Contribute your Thoughts:

0/2000 characters
Isadora
14 hours ago
I bet the developer who came up with Option D was having a bad day.
upvoted 0 times
...
Zachary
6 days ago
Option A seems like the most straightforward solution.
upvoted 0 times
...
Loren
11 days ago
Haha, Option D is just plain silly.
upvoted 0 times
...
Marsha
16 days ago
I think Option C is the way to go.
upvoted 0 times
...
Cristy
21 days ago
Option B looks good to me.
upvoted 0 times
...
Rosendo
26 days ago
I’m a bit confused about the syntax. I thought all options had to include the message, but I can't tell which one does it best.
upvoted 0 times
...
Goldie
1 month ago
I feel like Option C might be the right choice, but I can't recall if it includes the necessary fallback message.
upvoted 0 times
...
Colene
1 month ago
I remember practicing a similar question where we had to include a message for unsupported formats. I think it was about using the `` tag inside the audio element.
upvoted 0 times
...
Jamal
1 month ago
I think we need to use the `
upvoted 0 times
...
Gertude
2 months ago
I'm a little confused by the different options here. I'll need to really focus on understanding how each one handles the audio element and the potential browser support issue. Careful reading will be crucial for getting this one right.
upvoted 0 times
...
Gayla
2 months ago
This is a good one. I'm feeling pretty confident about my ability to analyze the code snippets and identify the best approach for ensuring the message appears if the browser doesn't support the audio files.
upvoted 0 times
...
Vincenza
2 months ago
Okay, I think I've got a strategy here. I'll closely examine the code in each option and look for the one that includes a fallback message or alternative content in case the audio isn't supported. That should be the key to solving this question.
upvoted 0 times
...
Allene
2 months ago
Option C seems confusing. I don’t see a message for unsupported audio.
upvoted 0 times
...
Marica
2 months ago
I prefer Option B. It has a fallback message too, but looks cleaner.
upvoted 0 times
...
Luisa
3 months ago
I think Option A is the best choice. It clearly shows a message for unsupported browsers.
upvoted 0 times
...
Lezlie
3 months ago
I’m leaning towards Option A as well. It’s straightforward and user-friendly.
upvoted 0 times
...
Alita
3 months ago
Hmm, I'm a bit unsure about this one. I'll need to think through the different options and consider how each one would handle the requirement of displaying a message if the browser doesn't support the audio files.
upvoted 0 times
...
Chau
3 months ago
This looks like a pretty straightforward question. I'd start by carefully reviewing the code snippets and thinking about how each one handles the audio element and potential browser support issues.
upvoted 0 times
Ariel
2 months ago
I think Option A is the best choice.
upvoted 0 times
...
...

Save Cancel