The HTML <source> type attribute is used to specify the MIME type of the media resource. Syntax:
<source type="media_type">
Attribute Values: It contains single value MIME_type which specifies the MIME_type of the media resource. Few MIME types are video/ogg, videomp4, audio/ogg etc. Example 1: This example illustrates the use of <source> type attribute with the audio file.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy
Please Login to comment...