Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

HTML5 download attribute not working at all on Firefox

  • 1 réponse
  • 0 a ce problème
  • 2 vues
  • Dernière réponse par TyDraniu

more options

HTML5 download attribute is not working at all on Firefox.

I created a simple HTML Mark up like this:

Logo <a href="Will Logo.png" download>Download Image</a>

When I click the link, it doesn't download the Image, it opens it in a new window.

I have tried it on Edge and Chrome and the result is the same-- the Image doesn't download. It simply opens up in a new window.

Is there some settings that I need to enable, for this HTML5 download attribute to work?

Regards.

HTML5 download attribute is not working at all on Firefox. I created a simple HTML Mark up like this: <img src="Will Logo.png" alt="Logo"> <a href="Will Logo.png" download>Download Image</a> When I click the link, it doesn't download the Image, it opens it in a new window. I have tried it on Edge and Chrome and the result is the same-- the Image doesn't download. It simply opens up in a new window. Is there some settings that I need to enable, for this HTML5 download attribute to work? Regards.

Toutes les réponses (1)

more options

Gamicord said

HTML5 download attribute is not working at all on Firefox. I have tried it on Edge and Chrome and the result is the same-- the Image doesn't download. It simply opens up in a new window.

1. This attribute is working on Firefox. 2. Your code doesn't work in any browser. 3. This forum is not meant for learning. 4. Check this example -> https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_a_download