This Web page's Powered by HTML5. Read the E-Book

HTML5 Hidden Object Games

HTML5 Simple Audio Example

Play music and sound effects with JavaScript and HTML5 audio tags.

Tap for Music
Tap for Effect

Include audio in online games and Web pages with HTML5.

HTML5 audio tags receive sound files assigned with MP3, OGG, WAV, and AAC formats. With this example the browser determines the sound format to play.

Tap the Audio Example button below to see the slightly more complicated Audio Example where JavaScript determines which sound format to play.

More HTML5 Tutorials by Topic

Exploding Coffee Pot
Copyright © 2015 Seven Thunder Software. All Rights Reserved.