Audio in HTML

Why Audio: Suppose a blind person visit your website. Blind person what to do with image, video, animation, text etc. There is no such uses for these image, video, animation, text etc for that person, but if you put an audio file about your website then this is beneficial for that person. Blind person will listen about your website with the use of those audio.

Syntax for audio in HTML is such as:

<audio src=" " controls>...</audio>

Note:

•Nowadays it is rarely used audio in website.

• Controls is used for when we want to control audio in webpages.

• Autoplay is used for when we open website audio is automatically play.

• src(source) we used this when we want to paste path or link of an audio file.