Press "Enter" to skip to content

Audio Tag Examples in HTML

Last updated on October 4, 2019

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>

Be First to Comment

    Leave a Reply

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