Jazzo.co.uk uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our Privacy Policy and our Terms & Condition.

HTML <audio>

query_builder | Christopher Pisani

With the HTML <audio> element, a small audio applet will be attached to the website, for audio playable content. It takes multiple audio sources, to be supported by different browsers and devices. Once the audio element is being parsed, the browser will choose the most suitable format to use from the <source> tag or the src attribute.

Available Attributes

Attribute Values Functionality
src url Location of the source file
autobuffer The way the audio is loaded when the page is loaded
autoplay Will start playing as soon as the file is loaded
loop The audio will play in an infinitive loop
controls Shows/hides the controls on the audio
preload auto
how audio is loaded into document