Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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