Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

HTML5 download attribute not working at all on Firefox

  • 1 отговор
  • 0 имат този проблем
  • 2 изгледи
  • Последен отговор от 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.

Всички отговори (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