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
<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
相关文章推荐
- how to display Error message including Html tag in apex trigger
- How to Include ASM File and to Highlight Display in Source Insight
- PDFBox – How to read PDF file in Java
- ASP.NET MVC: how to include <span> in link from Html.ActionLink?
- How to get file extension from string in C++
- How to convert docx/odt to pdf/html with Java?
- WebBrowser.java: Display HTML file in JEditorPane
- how-to-load-resource-from-jar-file-packaged-in-a-war-file
- How to save cookie in file for Requests
- How to remove duplicate lines in a large text file?
- How to leave the open file in eclipse tab after search?
- how to call another file in flash
- How to transform a pdf file from database@server side to client ?
- how to search new file in linux
- How to read Mac .DMG file in Linux or PC
- How to Set Up SQL Server 2008 FileStream In the Cluster
- Shell: How to read lines in a file.
- How to Customize Common Open File Dialog Box Places Bar in Windows
- How to decompile class file in Java and Eclipse - Javap command example(转)
- How to install a Windows software file in Ubuntu