Use of the type attribute:
![]()
The type attribute is supported in Internet Explorer 9+, Firefox, Opera, Chrome, and Safari.
Note: Internet Explorer 8 and earlier versions, do not support the <source> tag.
The type attribute specifies the MIME type of the media resource.
The <source> tag is new in HTML5.
| Value | Description |
|---|---|
| MIME_type | Specifies the MIME type of the media resource. Common MIME types: For video:
|
HTML <source> tag
Your message has been sent to W3Schools.