您的位置:首页 > Web前端 > HTML

How to Display a PDF File in a HTML Web Page

2012-03-23 17:52 423 查看
Type the following code to cause the PDF to display in a new window:

<a target=\"_blank\" href=\"filename.pdf\" title=\"\">Text that appears to the user</a>

If you do not wish the PDF to open in another window, then type:

<a href=\"filename.pdf\" title=>Text that appears to the user</a>

For "filename.pdf" substitute the filename and path of your PDF on the Web host, relative to the current HTML page. Include the quotes. For "Text that appears to the user," substitute the text you want to appear highlighted and clickable.

Read more: How to Display a PDF File in a HTML Web Page | eHow.com http://www.ehow.com/how_4451133_display-pdf-file-html-web.html#ixzz1pvrCc49i
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: