Why doesn't the download attribute work?
The download attribute in the <a> tag doesn't work, which means I won't be able to make websites with download links. Please fix that.
Alle antwoorden (5)
The download
attribute should work in Firefox, as shown here. I've used this attribute in a number of websites without issue.
Do you have the source code or a live demo that we can look at to see if there's an issue with your code?
Here's a demonstration of my problem https://drive.google.com/drive/folders/1xxl9HDTtw7ZRIG-ayd_LpQNlTAkUpEUU?usp=sharing
Here's a link to my problem https://drive.google.com/drive/folders/1xxl9HDTtw7ZRIG-ayd_LpQNlTAkUpEUU?usp=sharing
Please check the Notes box for the download attribute here and see whether those situations apply to your link:
https://developer.mozilla.org/docs/Web/HTML/Element/a#Attributes