- WebDev
- What is CSS?
- What is Javascript?
- What is HTML?
- What is PHP?
- Class
- $_SERVER
- JWT
- PHP Email
- REST API
- OAuth
- Configuration Files
- PHP Strings
- Youtube Templates
- Session - MySQL Handler
- PHP Router
- function keygen()
- MySQL
- Daemon Process
- Symbolic Links
- Date & Time
- Timezone
- File Upload
- What is XML?
- What is HTTP?
- What is SEO?
- What is the Internet?
- What is Java?
- What is RSS?
- What is a vCard?
- UKRAINE
- What is RFC?
- What is Apache?
Embed PDF File in HTML
Use the following code to embed the PDF file in the HTML web page.
PDF Document View Configuration
Now we will show how you can control the PDF document view on the web page. Using parameters in the URL, you can specify exactly what to display and how to display PDF documents.
The following parameters are commonly used to embed PDF files in HTML or open in the browser.
- page=pagenum
- Specifies a number (integer) of the page in the document. The document’s first page has a pagenum value of 1.
- zoom=scale
- Sets the zoom and scroll factors, using float or integer values. For example, a scale value of 100 indicates a zoom value of 100%.
- view=Fit
- Set the view of the displayed page.
- scrollbar=1|0
- Turns scrollbars on or off.
- toolbar=1|0
- Turns the toolbar on or off.
- statusbar=1|0
- Turns the status bar on or off.
- navpanes=1|0
- Turns the navigation panes and tabs on or off