HTML <a> Tag with 'type' Attribute

<a href="https://www.PuStudy.Com/images/examples/city-skyline.gif" download type="image/gif">Download Image</a>

How to Use the above Code

  1. Replace the value of the href attribute to be the URL of the resource you're linking to.
  2. Replace the anchor text (HTML Codes) with the text you want the user to see (or other content such as an image).
  3. Replace text/html with the MIME/media type for the target URL. If you're not sure which MIME type to use, see this complete list of MIME types.

About the type Attribute

The type attribute specifies the MIME type of the linked resource. Only to be used when the href attribute is present.

This attribute is purely advisory.