3 ms·
Yes, look at my example (http://jsbin.com/utugex/1/edit http://jsbin.com/utugex/1/edit), the href is pointing to an .html file, so in the normal case the browse
by daker 13y ago
Yes, look at my example (http://jsbin.com/utugex/1/edit http://jsbin.com/utugex/1/edit), the href is pointing to an .html file, so in the normal case the browser will display the content of the page but with the download attribute the browser will be forced to download it as "myfile.pdf".