Html a download attribute just opening pdf

14 May 2019 In this response, the server simply serves the raw content of the resource In HTML 5, a new download attribute was added to the anchor element. Here is the updated HTML anchor element for downloading the PDF document: they can be used to load files that can be displayed or embedded in the  25 Mar 2018 Trying to turn the pdf file for JQuery Cheatsheet into a download and it does not seem to be working, it still just opens the pdf in a separate tab.