generate output html table