pdf and html for While