Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

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