title: How to use rowspan in td using dominate tags library?
body: <p>As you can see in the code below, I am generating an HTML table with 4 columns. The first and second column have 1 row and the 3rd and 4th should have 5 rows. </p>
  
  <p>I have tried using rowspan but cannot get it work and it gives weird output. Right now I am using a <code>table</code> element nested in the main <code>table</code> but I don't want to use that, I'd like to use <code>rowspan</code></p>
  
  <pre><code>from dominate import tags as tags# import time, subprocess, os, datetime, zipfile, shutil
  
  doc = dominate.document(title="whatever")
  with doc:
      tags.style("body{font-family:Helvetica}")
      tags.style("h1{font-size:x-large}")
      tags.style("h2{font-size:large}")
      tags.style("table{border-collapse:collapse}")
      tags.style("th{font-size:small;border:1px solid gray;padding:4px;background-color:#DDD}")
      tags.style("td{font-size:small;text-align:center;border:1px solid gray;padding:4px}")   
  
      with tags.table():
                  with tags.thead():
                      tags.th("Test")
                      tags.th("Pass%")
                      tags.th("random")
                      tags.th("Bugs / Notes")
                  with tags.tbody():
                      with tags.tr():
                          tags.td("random")
                          tags.td("random", "%", style="font-size:small;text-align:center;border:1px solid gray;padding:4px;background-color:#66FF66")
                          with tags.td():
                              with tags.table(style = ""):
                                  with tags.tr():
                                      tags.td("1", style = "font-size:small;text-align:center;padding:4px")
                                  with tags.tr():
                                      tags.td("1", style = "font-size:small;text-align:center;padding:4px")
                                  with tags.tr():
                                      tags.td("1", style = "font-size:small;text-align:center;padding:4px")
                                  with tags.tr():
                                      tags.td("1", style = "font-size:small;text-align:center;padding:4px")
                                  with tags.tr():
                                      tags.td("1", style = "font-size:small;text-align:center;padding:4px")
                          with tags.td():
                              with tags.table():
                                  with tags.tr():
                                      tags.td("1", style = "font-size:small;text-align:center;padding:4px")
                                  with tags.tr():
                                      tags.td("1", style = "font-size:small;text-align:center;padding:4px")
                                  with tags.tr():
                                      tags.td("1", style = "font-size:small;text-align:center;padding:4px")
                                  with tags.tr():
                                      tags.td("1", style = "font-size:small;text-align:center;padding:4px")
                                  with tags.tr():
                                      tags.td("1", style = "font-size:small;text-align:center;padding:4px")
  
  HTML_TMP = "/tmp/demo.html"
  MAIL_TMP = "/tmp/demo.txt"
  
  
  # save it to a file
  with open(HTML_TMP, "w") as f:
       f.write(str(doc))
  </code></pre>
  
  <p>Can you please tell me how to do this.</p>