Audio Element In HTML 5
The HTML <audio> component is utilized to install sound substance in reports. It may hold a few audio sources, spoke to utilizing the src characteristic or the <source> component; the program will pick the most suitable one.
<audio> …. </audio>
Before HTML5, there was no standard for playing audio records on a site page.
Before HTML5, audio records must be played with a module (like flash). Then again, diverse programs backed distinctive modules.
HTML5 characterizes another component which details a standard approach to implant an audio record on a page: the audio component.
Here is the Syntax for AUDIO Element
The control property includes <audio> controls, in the same way as play, stop, and volume.
You ought to likewise embed content substance inside the <audio> labels for programs that don’t help the <audio> component.
The <audio> component permits numerous <source> components. <source> components can connection to diverse audio documents. The program will utilize the initially perceived arrangement.
Below is complete syntax along with example
Latest posts by Ali Masthan (see all)
- .Net Interview Questions and Answers for Freshers - May 16, 2017
- Java Interview Questions and Answers for Experienced - May 16, 2017
- How To Track Outbond Links In GTM ? - February 7, 2017