Home
|
Contact
HOME
HTML to PDF
PDF TOOLS
DEMO
DOWNLOAD
BUY NOW
SUPPORT
HTML to PDF Library for .NET
EvoPdf Chromium for .NET
Cross-Platform
HTML to PDF for .NET
HTML to PDF for Java
HTML to PDF for Azure
HTML to PDF for UWP
HTML to PDF for Xamarin
HTML to PDF for Mono
HTML to PDF Converter
EvoPdf Chromium
HTML to Image Converter
HTML to SVG Converter
SVG to PDF Converter
Word to PDF Converter
Excel to PDF Converter
RTF to PDF Converter
PDF to Text Converter
PDF to Image Converter
PDF to HTML Converter
PDF Images Extractor
PDF Print
PDF Merge
PDF Split
PDF Security
PDF Viewer for ASP.NET
PDF Viewer for WinForms
Cross-Platform
PDF Library for .NET
HTML to PDF Converter Demo
EvoPdf Chromium Demo
Order Online
Licensing & Prices
License Renewal
License Agreement
Our Customers
HTML to PDF Converter User Guide
EvoPdf Chromium User Guide
Contact Support
Collapse
Expand
HTML to PDF Converter
Getting Started with HTML to PDF
HTML Content Destination and Scaling in PDF
Convert the Current HTML Page to PDF
Convert a HTML Page to PDF in Same Session
Merge Multiple HTML Pages into a Single PDF
Merge HTML with Existing PDF Documents
Partially Convert of a HTML Page to PDF
Repeat HTML Table Header and Footer in PDF
Headers and Footers
Add HTML in Header and Footer
Add Page Numbering in HTML
Change Header and Footer per Page
Add Header and Footer in External PDFs
Merge Multiple HTMLs into a Single PDF
Auto Resize Header and Footer
Page Breaks Control
Screen and Print Media Types
Conversion Triggering Modes
Hierachical Bookmarks
Table of Contents
Live PDF Forms
HTML5 Features
HTTP GET and POST, Proxy Options
HTTP Headers and Cookies
Fonts Embedding
HTML Elements Location in PDF
HTML Elements Visibility in PDF
URI Links in PDF
Internal Links in PDF
File Links and Attachments
Text Notes in PDF
PDF Actions
HTML to PDF Elements
HTML to Image Elements
Images Quality in Generated PDF
Flash and Extensions Support
Watermarks and Stamps
PDF Background and Foreground
PDF/A and PDF/X Standards
CMYK and GrayScale Color Spaces
PDF Viewer Preferences
PDF Security Features
HTML to Image Converter
PDF Creator
PDF Editor
Live Demo
Description
Sample Code
Add Page Numbering in HTML
EVO HTML to PDF Converter offers a great control of headers and footers. You can add in header and footer any PDF element that you can add in a PDF page : HTML, text, image. Even more you can add page numbering in HTML elements from header and footer. The Full Description and a Code Sample can be accessed from the top tabs.
HTML Page URL or Local File to Convert
HTML String with Page Numbering to Add in Footer
<!DOCTYPE html> <html> <head> <title>Add Page Numbering in HTML</title> </head> <body style="font-family: 'Times New Roman'; font-size: 14px"> <table style="width: 100%"> <tr> <td style="font-weight: bold; color: navy">HTML with Page Numbering</td> <td rowspan="2"><a href="http://www.evopdf.com"> <img alt="Logo Image" style="width: 200px" src="img/logo.jpg" /></a></td> <td rowspan="2" style="width: 5px"></td> </tr> <tr> <!-- Add Page Numbering in HTML using &p; and &P --> <td style="width: 90%">Page <span style="color: navy; font-weight: bold">&p;</span> of <span style="font-size: 16px; color: green; font-weight: bold">&P;</span> pages </td> </tr> </table> </body> </html>
Base URL
Draw Footer Line
Spacing:
pt