Audio Tag Examples in HTML

Definition :

  • This is a tag which is meant for loading and playing the content which is of audio format from local machine.

Program :

<html>

    <body>

                    <audio controls>

                                    <source src=”ss.mp3″ title=”audio/mp3″>

                                                <source src=”horse.ogg” title=”audio/ogg”>

                                </audio>

                </body>

</html>

Leave a Reply

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