[英]how can I change the download path of anchor tag download attribute
<!DOCTYPE html>
<html>
<body>
<p>Click on the w3schools logo to download the image:</p>
<a href="/image path" download>
<img src="image path" alt="W3Schools" width="104" height="142" />
</a>
<p><b>Note:</b> The download attribute is not supported in Edge version 12, IE, Safari 10 (and earlier), or Opera version 12 (and earlier).</p>
</body>
</html>
在這里,我可以設置文件的位置,但是不能設置文件的存儲路徑。
您無法更改首選的下載位置。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.