Format output html file.