Place it in a div inside the page and change the page title as follows:
<head> <title>YOUR TAB TITLE</title> </head>
and then:
<div> <object data="test.pdf" type="application/pdf" width="300" height="200"> alt : <a href="test.pdf">test.pdf</a> </object> </div>
You can also set the width and height of the object to fit the page.
Link
source share