HTML introduced in pdf file

Introduction pdf file in html page, only pdf file, call the plug-PDFObject.js

HTML:

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <meta charset="utf-8" />
    <script src="Scripts/PDFObject.js"></script>
    
    <style>
        .pdfobject-container {
            height: 400px;
            border:Solid RGBA 1 rem (0,0,0, .1) ; 
        } 
    </ style > 
</ head > 
< body > 
    < div ID = "example1" > </ div > 
</ body > 
</ HTML > 
< Script > pdfObject .embed ( " responsive Web design: HTML5 and CSS3 combat of.pdf " , " # example1 " ); </ Script >
PDFObject.js file

Guess you like

Origin www.cnblogs.com/ddzhou/p/11512627.html