Audio and video tags
Hi guys. I started learning HTML5 and have a question regard audio and video tags. In the exercises, there are always two lines of code, with the almost same content. For the audio: <audio controls> <source src="audio.mp3" type="audio/mpeg"> <source src="audio.ogg" type="audio/ogg"> </audio> And for video: <video controls> <source src="video.mp4" type="video/mp4"> <source src="video.ogg" type="video/ogg"> Video is not supported by your browser </video> I am not sure to understand why is that? Because of the format of the file? Or why? Something like an algorithm? If it is not audio/mpeg, then maybe is audio/ogg? If it is not too, then the other side will recieve the error that the file is not supported? Thanks very much :)