下载属性在<a> tag

时间:2019-02-18 18:39:29

标签: html

<a href="/images/a.jpg" download>
  <img src="/images/prof.jpg" width="104" height="142">
</a>

I have tried this code.It is not downloading the image and is only opening the image file in separate window. How to download the image?

0 个答案:

没有答案