HTML file generation from PDF Tag