Will external images and stylesheets load in the PDF?
External resources loaded from the web (via http:// or https:// URLs) will generally load correctly as long as you are connected to the internet and the resources are publicly accessible. However, local file references (e.g., href="style.css" pointing to a file on your hard drive) will not load, since the browser sandboxes local file access. Embed all styles inline in the HTML file for the most reliable output.
Can I convert an HTML file with JavaScript interactivity to PDF?
The PDF will capture the static state of the page as it appears after initial render. Interactive elements like dropdown menus, modals, or JavaScript-driven animations will be shown in their default state. Dynamic content that requires user interaction to appear will not be visible in the PDF.
How do I control page breaks in the output PDF?
You can use the CSS page-break-before, page-break-after, and break-inside: avoid properties in your HTML file to control where page breaks occur. Add @page { margin: 1cm; } in a style tag to set margins. These CSS properties are respected by the browser's print engine used to generate the PDF.
Can I convert multiple HTML files into one PDF?
PixelForge converts one HTML file at a time. If you need multiple HTML files in one PDF, consider combining them into a single HTML file (using the appropriate page-break CSS), or converting each separately and then using the
Merge PDF tool to combine the resulting PDFs.