Title: HTML code for PDF file display
Last modified: August 21, 2016

---

# HTML code for PDF file display

 *  Resolved [agray19](https://wordpress.org/support/users/agray19/)
 * (@agray19)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/html-code-for-pdf-file-display/)
 * Does anyone have some HTML code to create a window in a page with a slider so
   that I can display a PDF file inside the window? I can’t seem to find a plugin
   which does that so I am looking for some code to place on the page to accomplish
   the same thing.
 * Thanks,
    AG

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * (@linux4me2)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/html-code-for-pdf-file-display/#post-5047887)
 * I guess you are saying you want the PDF displayed “in” the page amongst other
   content, and not as the whole page like a browser will do by default?
 * You could try an [iframe](http://www.w3schools.com/tags/tag_iframe.asp):
 *     ```
       <iframe src="pathtoyourpdf.pdf"></iframe>
       ```
   
 * Just check the link above for the attributes that are still supported in HTML5.
   You can use CSS to tweak it, too.
 *  Thread Starter [agray19](https://wordpress.org/support/users/agray19/)
 * (@agray19)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/html-code-for-pdf-file-display/#post-5047892)
 * THANK YOU!
 * That worked quite well and I can adjust the size too …..
    I have to say that 
   I am profoundly ignorant of programing … but I like this.
 * Thank you,
    AG
 *  [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * (@linux4me2)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/html-code-for-pdf-file-display/#post-5047893)
 * You can’t say you’re profoundly ignorant of programming now; you know how to 
   set up an iframe. : )
 *  Thread Starter [agray19](https://wordpress.org/support/users/agray19/)
 * (@agray19)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/html-code-for-pdf-file-display/#post-5047894)
 * You are right and I am now curious.
 * I am going to look to see if there is some version of “HTML for dummies” and 
   see if I can use it.
 * Thanks,
    AG

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘HTML code for PDF file display’ is closed to new replies.

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 4 replies
 * 2 participants
 * Last reply from: [agray19](https://wordpress.org/support/users/agray19/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/html-code-for-pdf-file-display/#post-5047894)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
