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