The audio Element part 1

The audio Element
31
1/3













Audio on the Web
Before HTML5, there was no standard for playing audio files on a web page.
The HTML5 <audio> element specifies a standard for embedding audio in a web page.
There are two different ways to specify the audio source file's URL. The first uses the source attribute:
The second way uses the <source> element inside the <audio> element:
Multiple <source> elements can be linked to different audio files. The browser will use the first recognized format.
Comments
Post a Comment