How to view or read PDF file in HTML and PHP

How to view or read PDF file in HTML and PHP

[dm_code_snippet background=”yes” background-mobile=”yes” bg-color=”#abb8c3″ theme=”dark” language=”html” wrapped=”no”]

<html>
<head>
<title>Codelizar</title>
</head>
<body>
<h1>View PDF File in HTML page and PHP Page </h1>

<!— Set Path of pdf file in src attribute of iframe tag —>

<iframe src=”assets/docfile/javabook.pdf” width=”800px” height=”600px”>
</body>
</html>

[/dm_code_snippet]

Leave a Reply

Your email address will not be published. Required fields are marked *