Which tag is use in javascript to add PDF?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Which tag is use in javascript to add PDF??

25th Apr 2018, 12:48 PM
VD.TECH
VD.TECH - avatar
8 Answers
25th Apr 2018, 4:00 PM
Niush
Niush - avatar
+ 4
thx
25th Apr 2018, 3:57 PM
VD.TECH
VD.TECH - avatar
+ 4
but, how to enable plugin option in Google Chrome
25th Apr 2018, 3:57 PM
VD.TECH
VD.TECH - avatar
+ 4
thx
25th Apr 2018, 4:34 PM
VD.TECH
VD.TECH - avatar
+ 3
its not work
26th Apr 2018, 5:27 AM
VD.TECH
VD.TECH - avatar
+ 1
I don't understand your question, add PDF could mean anything! Can you explain a little more please?
25th Apr 2018, 1:44 PM
ihateonions
+ 1
Two Ways: 1) Use HTML embed. Does not work if browser has no pdf viewer or is set to off. <embed src="myfile.pdf" width="800px" height="2100px" /> 2)Uses Google PDF Viewer. Needs active Internet Connection. <iframe src="http://docs.google.com/gview?url=http://mywebsite/myfile.pdf&embedded=true" style="width:800px; height:2100px;" frameborder="0"></iframe>
25th Apr 2018, 3:08 PM
Niush
Niush - avatar