How to open pdf that is located in a folder in the project in html?

1

I'm trying to open a pdf file that is located in a folder inside the project, but it's not working.

I followed some suggestions and tried this:

<a href="../../media/Novo_Documento_2017-09-13_18.19.55_20170913182145649.pdf"   target="_blank">pdf_001</a>

What I would like to do is open the pdf that is located in this media folder in the browser.

    
asked by anonymous 27.10.2017 / 15:10

1 answer

0

I think this is what you want, open the pdf directly in the browser!

<iframe src="../../media/Novo_Documento_2017-09-13_18.19.55_20170913182145649.pdf" width="600" height="780" style="border: none;"></iframe>
    
27.10.2017 / 16:17