How to Create Download Link in HTML5 - Make a Direct Downloadable Button for Any File Type

preview_player
Показать описание
Learn how to create a link in HTML so a file automatically downloads without having to create any server side script like PHP. This can be achieved entirely in HTML5 and is really useful for links to download audio files, video files, images, documents.

In the video I'll show you how to add the appropriate code to your HTML so that when a user clicks on a link, the image is downloaded to the users machine, without showing it in the browser.

The file is downloaded straight to the web users local hard drive.

The HTML5 attribute has been around for quite some time and makes it easy to create download links.

Рекомендации по теме