Overview
A type attribute specifies the nature of a linked file or a document. Content types are case-insensitive.
Note: type is an optional attribute.
Syntax & Example
<a href="example.png" type="file_type">
For instance, if you are going to link to a .PNG file, type attribute should read as follows
<a href="example.png" type="image/png">
Content Type Examples
Following are some of the basic content types: text/html, image/png, image/gif, video/mpeg, text/css, and audio/basic.
Additional content/media types can be found on the IANA Media Types website.