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 <source>

query_builder | Christopher Pisani

The HTML element <source> is the child element of <audio>. Multiple <source> elements can be added and the first supported format will get in use. If no source is supported, a callback text will be displayed.

Example of element <audio> with multiple audio formats.

Available Attributes


Attribute Values Functionality
src URL The location of file
srcset URL The URL of the image to use in multiple situations
media media query Media query that would normally be defined in a CSS
sizes value Image sizes for various display sizes
type MIME type The MIME-type of the resource