Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Iskanje po podpori

Izogibajte se prevarantski tehnični podpori. Nikoli vam ne bomo naročili, da pokličete telefonsko številko ali nam pošljete osebne podatke. Sumljivo dejavnost prijavite z gumbom »Prijavi zlorabo«.

Več o tem

HTML5 download attribute not working at all on Firefox

  • 1 odgovor
  • 0 ima to težavo
  • 2 ogleda
  • Zadnji odgovor od 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.

Vsi odgovori (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