build table html
formatting