如何更改锚标签下载属性的下载路径


<!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>

在这里,我可以设置文件的位置,但无法设置存储文件的路径。

您无法更改首选下载位置。

最新更新