繁体   English   中英

如何更改定位标记下载属性的下载路径

[英]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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM