🌐
W3Schools
w3schools.com › tags › tag_audio.asp
HTML audio tag
The <audio> tag also supports the Event Attributes in HTML.
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › HTML › Reference › Elements › audio
The Embed Audio element - HTML - MDN Web Docs - Mozilla
5 days ago - In a similar manner to the <img> ... we want to show the browser's default audio controls, etc. The content inside the opening and closing <audio></audio> tags ......
Discussions

Content not displaying after the <audio> tag : r/HTML
🌐 r/HTML
New to HTML, but I can't get an audio file to show up on a page?
The

tag inside the audio element is a fallback. It will only show up if the audio tag is not supported by the browser. Since it’s not rendering, the tag is supported but something else is wrong.

More on reddit.com
🌐 r/HTML
14
3
October 13, 2018
HTML5 audio tag (and possibility of shifting file size to CDN)

What's the format? MP3 seems to be working.

This might help: https://forums.ankiweb.net/t/html-audio-tag-not-working/7428/2

<audio controls> 
<source src="https://cdn.innovativelanguage.com/japanesepod101/learningcenter/audio/vocabulary/sample/8940.mp3" type="audio/mp3">
</audio>
More on reddit.com
🌐 r/Anki
3
3
March 4, 2021
my audio is not playing even after adding the audio tag in html?
Generally you'll need interaction before any video or audio can be autoplayed un-muted: https://developer.mozilla.org/en-US/docs/Web/Media/Guides/Autoplay More on reddit.com
🌐 r/webdev
11
2
February 5, 2026
🌐
W3Schools
w3schools.com › html › html5_audio.asp
HTML Audio
The text between the <audio> and </audio> tags will only be displayed in browsers that do not support the <audio> element.
🌐
Mimo
mimo.org › glossary › html › audio-tag
HTML Audio Tag: Syntax, Usage, and Examples
You can use the HTML audio tag autoplay attribute to play background music or sound effects automatically.
🌐
GeeksforGeeks
geeksforgeeks.org › html › html5-audio-tag
HTML audio Tag %%page%% %%sep%% %%sitename%% - GeeksforGeeks
The various attributes that can be used with the "audio" tag are listed below: The autoplay attribute is used to automatically begin playback of the audio file whenever the URL of the webpage is loaded. ... <!DOCTYPE html> <html> <body> <audio controls autoplay> <source src= "https://media.geeksforgeeks.org/wp-content/uploads/20230524142525/gfg_offline_classes_en.mp3" type="audio/mp3"> <source src= "https://media.geeksforgeeks.org/wp-content/uploads/20220913101124/audiosample.ogg" type="audio/mp3"> </audio> </body> </html>
Published   June 19, 2025
🌐
W3docs
w3docs.com › learn-html › html-audio-tag.html
HTML <audio> Tag
The content is written between the opening (<audio>) and closing (</audio>) tags. <audio> <source src="URL"> <source src="URL"> </audio> <!DOCTYPE html> <html> <head> <title>Title of the document</title> </head> <body> <audio controls> <source src="/build/audios/jingle_bells.ogg" type="audio/ogg"> <source src="/build/audios/audio.mp3" type="audio/mpeg"> </audio> <p>Click the play button</p> </body> </html>
🌐
Computer Hope
computerhope.com › jargon › h › html-audio-tag.htm
HTML <audio> Tag
<source src="https://www.computerhope.com/jargon/m/example.mp3" /> </audio> ... When using the <audio> tag, ensure the sound file is in the proper format. There are three accepted formats which include MP3, Ogg, and WAV.
🌐
Tutorialspoint
tutorialspoint.com › html › html_audio_element.htm
HTML Audio
The following example illustrates the autoplay and looping of audio − · <!DOCTYPE html> <html> <body> <p>Working with audio element</p> <audio controls autoplay muted loop> <source src= "/html/media/audio/sample_3sec_audio.mp3" type = "audio/mp3" /> <source src= "/html/media/audio/sample_3sec_audio.wav" type = "audio/wav" /> <source src= "/html/media/audio/sample_3sec_audio.ogg" type = "audio/ogg" /> Your browser does not support the <audio> element.
Find elsewhere
🌐
SamanthaMing
samanthaming.com › tidbits › 82-html-audio-tag
HTML <audio> Tag | SamanthaMing.com
It will take on the default of the particular browser. But you can style the outer player unit. /* Example: */ audio { display: /*...*/, border: /*...*/, padding: /*...*/, margin: /*...*/, }
🌐
Programiz
programiz.com › html › audio
HTML Audio (With Examples)
The src attribute specifies the location of the audio file that should be played in the audio player. For example, <audio src="/audios/sample.mp3" controls> </audio> Here, the audio element will create an audio player that will play the audio file located at /audios/sample.mp3 · Note: At least ...
🌐
PW Skills
pwskills.com › blog › web development › everything you should know about the audio tag html and javascript
Everything You Should Know About The Audio Tag HTML And JavaScript
November 4, 2025 - This example includes multiple attributes to enable controls, autoplay, looping, preloading, specify the audio source, set the MIME type, and customize the controls list. Adjust the attributes based on your needs and the desired behavior of the audio player. The <audio> tag is an HTML5 element used to embed audio content in a web page.
🌐
GeeksforGeeks
geeksforgeeks.org › html › html-audio
HTML Audio - GeeksforGeeks
July 23, 2025 - Tags · Projects · Interview Questions ... sound effects, or other audio files directly in the browser. <audio> <source src="sample.mp3" type="audio/mpeg"> </audio>. HTML ·...
🌐
W3Schools
w3schools.com › tags › att_audio_src.asp
HTML audio src Attribute
❮ HTML <audio> tag · Play a sound: <audio src="horse.ogg" controls> Your browser does not support the audio element. </audio> Try it Yourself » · The src attribute specifies the location (URL) of the audio file. The example above uses an Ogg file, and will work in Firefox, Opera, Chrome, and Edge.
🌐
Tutorialspoint
tutorialspoint.com › home › html › html audio tag
HTML Audio Tag
February 6, 2007 - HTML audio tag supports Global and Event attributes of HTML. And some specific attributes as well which are listed bellow. In the following example, we are going to display the audio player with play, pause and volume controls using the controls attribute.
🌐
Tutorial Republic
tutorialrepublic.com › html-reference › html5-audio-tag.php
HTML5 audio Tag - Tutorial Republic
The basic syntax of the <audio> tag is given with: HTML / XHTML: <audio> ... </audio> The example below shows the <audio> tag in action.
🌐
DotFactory
dofactory.com › html › audio
HTML audio Tag
C# Code Examples · Visual Studio ... building the largest freelancing marketplace for people like you. HTML <aside> HTML <b> The <audio> tag creates an audio player on a web page....
🌐
DotFactory
dofactory.com › html › media › audio
HTML Audio
If the browser does not support the <audio> tag, then the text inside the tag will display. ... HTML5 supports three audio formats MP3, WAV, and OGG. Their media types are audio/mpeg, audio/wav, and audio/ogg respectively. Most browsers accept these formats. The <audio> element exposes a DOM ...
🌐
Hollyland
hollyland.com › blog › topics › add-audio-in-html
How to Add Audio in HTML: Learn by Example - Hollyland
February 26, 2026 - Save the HTML file and refresh the browser. Inside the opening <audio> tag, add the word controls.
🌐
DAISY
kb.daisy.org › publishing › docs › html › audio.html
Audio - Accessible Publishing Knowledge Base
Providing a label for audio clips ensures that users can understand the purpose of the audio before choosing whether to listen to it. Users with high bandwidth costs, for example, can save both time and money by not having to download clips they are not interested in.