HTML code generator from PDF Tag