Coding Fun Html How to use audio tag in html

How to use audio tag in html





The audio tag defines sound, such as music or other audio streams.

Currently, there are 3 supported file formats for the audio element: MP3, WAV, and OGG:

Attribute Value Description
autoplay autoplay Specifies that the audio will start playing as soon as it is ready
controls controls Specifies that audio controls should be displayed (such as a play/pause button etc)
loop loop Specifies that the audio will start over again, every time it is finished
muted muted Specifies that the audio…

Tags: , , , , , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *