Is there away to put a pdf viewer in a html doc

I’m running a website that I’m using pdf’s for guides and such is there a way instead of it opening in just a viewer but instead I can have it open in the layout so people can use the comment script i have on all my pages. I have seen people do it I just don’t know how.
Thanks in advance.

<img src=“whatever.pdf” alt=“an embedded pdf”>

opening the PDF in an iframe or object tag should also work.

Of course the person will need to have the PDF plugin/extension installed in their browser for it to work.

IMX embedding it as an image is very flaky, and using <object> is much more robust.