Wednesday, September 25, 2013

Rendering PDF using HTML DIV

Download and install notepad++ for better and advanced features of html and html5. If you have simple notepad.exe then that is enough. I am referring notepad++.


<!DOCTYPE html>
<html>
<head>
<title></title>
<body>
<object data="OneTerms.pdf" type="application/pdf"></object>

</body>
</html>

You can use the height and width as per your design for defined object.

Result :-

No comments:

Post a Comment