+ 1

How can i add the pdf into the html code

In some websites where we can see a link to directly download the pdf how can we create the link by using anchor,object ....browser not supporting it

31st May 2017, 2:46 PM
Gokul
2 Antworten
0
try download attribute. <a href="/files/myfile.pdf" download> https://www.w3schools.com/tags/att_a_download.asp
31st May 2017, 3:07 PM
Eranga
Eranga - avatar
0
use <a> tag
31st May 2017, 3:48 PM
Barosz Sójka
Barosz Sójka - avatar