<audio controls>
<source src=”horse.ogg” type=”audio/ogg”>
<source src=”horse.mp3″ type=”audio/mpeg”>
Your browser does not support the audio element.
</audio>

Definition and Usage

The <source> tag is used to specify multiple media resources for media elements, such as <video>, <audio>, and <picture>.

The <source> tag allows you to specify alternative video/audio/image files which the browser may choose from, based on its media type, codec support or media query.


Leave a Reply


SIGN INTO YOUR ACCOUNT CREATE NEW ACCOUNT

Your privacy is important to us and we will never rent or sell your information.

 
×
CREATE ACCOUNT ALREADY HAVE AN ACCOUNT?

 
×
FORGOT YOUR DETAILS?
×

Go up