Display PDF file in HTML page

Posted on Thursday, 20 September 2012 by contact-nizam


  • 1: Save the PDF you wish to link to on a local drive on your computer.
  • 2: Upload the PDF to your Web host. How this is done depends on your host. If you have any problems, check your host's FAQ or customer service. Take note of the path of the file.
  • 3: 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.
  • Click here to read more

    0 Responses to "Display PDF file in HTML page ":