Press "Enter" to skip to content

Download attribute in A tag

Sharing is caring!

You can easily use download attribute in <a></a> tags to force the download.

Generally we use a tag to redirect to another location. But it is also useful for downloading. It supports the filename assignment.

Example: Download

Everything is awesome.

Be First to Comment

    Leave a Reply

    Your email address will not be published.