【发布时间】:2019-02-21 13:28:17
【问题描述】:
我使用了代码:
<a download href="https://web.stanford.edu/group/csp/cs21/htmlcheatsheet.pdf"> Download cheetsheat</a>
但我无法通过链接下载 PDF。它会打开 PDF。
属性是“下载”但它不起作用
【问题讨论】:
-
在您的问题中添加更多代码。你做了什么?你期待什么?
-
我想这就是你要找的东西:stackoverflow.com/a/6794432/4038579
标签: html