Audio with Fallback Text
HTML
Easy
3 views
Problem Description
Create an audio player and include fallback text inside the tag.
Output Format
Print the HTML code.
Constraints
Put text inside audio tag.
Official Solution
<!doctype html>
<html lang='en'>
<head>
<meta charset='utf-8'>\
<meta name='viewport' content='width=device-width, initial-scale=1'>
<title>meetcode</title>
</head>
<body>
<audio controls>
<source src='intro.mp3' type='audio/mpeg'>
Your browser does not support audio.
</audio>
</body>
</html>
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!