code: def html(header_rows):
      
      name = 'table%d' % next(tablecounter)
      return HtmlTable([map(str, row) for row in header_rows], name).render()
docs: Convert a list of tuples describing a table into a HTML string