How to view or read PDF file in HTML and PHP

How to view or read PDF file in HTML and PHP

                    

<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>

Leave a Reply

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