經安全檢測,此網站為安全網站,請放心前往原始網址!

javascript - (HTML) Download a PDF file instead of opening them in browser when clicked - Stack Over

I was wondering how to make a PDF file link downloadable instead of opening them in the browser? How is this done in html? (I'd assume it's done via javascript or something).

stackoverflow.com

網址安全性掃描由 google 提供