Answers for "how to add a pdf to a website in html"

7

html embed a pdf

<!DOCTYPE html>
<html>
  <head>
    <title>Title of the document</title>
  </head>
  <body>
    <h1>PDF Example with iframe</h1>
  
 		   
    <iframe src="link/to/your.pdf" width="100%" height="500px">
    </iframe>
 
  
  </body>
</html>

<!-- insta: @hardcode_studios -->
Posted by: Guest on April-17-2020
0

html insert pdf

<embed src="http://example.com/the.pdf" width="500" height="375" 
 type="application/pdf">
Posted by: Guest on August-12-2021

Code answers related to "how to add a pdf to a website in html"

Browse Popular Code Answers by Language