网页显示 PDF
显示 PDF 文件
这是一个使用网页直接显示 PDF
的方法。
<iframe src="http://statweb.stanford.edu/~tibs/ElemStatLearn/contents.pdf"
style="width:100%; height:520px;" frameborder="0">
</iframe>
<p style="margin-top: 0px; text-align:right;">
<a target="_blank"
href="http://statweb.stanford.edu/~tibs/ElemStatLearn/contents.pdf">
全屏查看
</a>
</p>
显示其他网页
当然,我们也可以使用相同的方法在网页当中插入其他网站的页面:
<iframe
src="http://blog.mathieu.guillame-bert.com/2015/07/12/introduction-to-machine-learning/"
style="width:100%; height:520px;">
</iframe>
另外一个网页
<iframe src="http://finance.sina.com.cn/world/20150729/164022823889.shtml" style="width:100%; height:520px;">
</iframe>
<p style="margin-top: 0px; text-align:right;">
<a target="_blank"
href="http://finance.sina.com.cn/world/20150729/164022823889.shtml">
全屏查看
</a>
</p>
<iframe
src="http://blog.mathieu.guillame-bert.com/2015/07/20/machine-learning-for-dummies-part-2/"
style="width:100%; height:520px;">
</iframe>
<iframe
src="http://blog.mathieu.guillame-bert.com/2015/07/23/machine-learning-for-dummies-part-3/"
style="width:100%; height:520px;">
</iframe>
添加视屏
<section style="border: 0px; margin-left: 10%; margin-right: 15%; margin-top: 0px; margin-bottom: 0px; clear: both; font-size: 87.5%; font-family: inherit; text-align: center; text-decoration: inherit; color: inherit; padding: 0px; " class="tn-Powered-by-XIUMI"><section class="tn-Powered-by-XIUMI" style=""><p><iframe class="video_iframe" style="z-index: 1; width: 670px !important; height: 502.5px !important; overflow: hidden; border-width: 0px;" height="502.5" width="670" frameborder="0" data-src="http://v.qq.com/iframe/player.html?vid=n0160f3xnul&width=500&height=375&auto=0" allowfullscreen="" src="http://v.qq.com/iframe/player.html?vid=n0160f3xnul&width=670&height=502.5&auto=0" scrolling="no"></iframe><br></p></section><section style="width: 0px; height: 0px; clear: both;"></section></section>