Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Learn More

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

Why doesn't the download attribute work?

more options

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.

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)

more options

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?

more options
more options
more options
more options

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