Posted by : Sudhir Chekuri Friday, 15 November 2013

HTML5 contains audio and video tags to play audio files and video files directly on the webpage without using any plugins.

Example HTML5 code with audio and video tags

<!DOCTYPE HTML>
<html>
<body>
    <audio controls>
        <source src="Krrish.mp3" type="audio/mpeg">
        Your browser does not support this audio format.
    </audio>

    <video>
        <source src="Krrish.mp4" type="video/mp4" /> 
    </video>
</body>

</html>


Leave a Reply

Subscribe to Posts | Subscribe to Comments

Followers

Total Pageviews

Powered by Blogger.

Blog Archive

- Copyright © 2013 DevStudent - Metrominimalist - Powered by Blogger - Designed by Johanes Djogan -