formatted the output html file