简体   繁体   中英

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>

Here I can set the file's location but can't set the path where the file will be stored.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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