HTML Audio Tag
HTML audio tag is used to define sounds such as music and other audio clips. Currently there are three supported file format for HTML 5 audio tag.
- mp3
- wav
- ogg
<audio controls> <source src="koyal.mp3" type="audio/mpeg"> Your browser does not support the html audio tag. </audio>
HTML Video Tag
HTML 5 supports <video> tag also. The HTML video tag is used for streaming video files such as a movie clip, song clip on the web page.
Currently, there are three video formats supported for HTML video tag:
- mp4
- webM
- ogg
<video controls> <source src="movie.mp4" type="video/mp4"> Your browser does not support the html video tag. </video>
Leave A Comment?