{"id":13858294,"url":"https://github.com/gforge/htmlTable","last_synced_at":"2025-07-13T23:31:50.941Z","repository":{"id":24850037,"uuid":"28265082","full_name":"gforge/htmlTable","owner":"gforge","description":"An R package for generating advanced tables","archived":false,"fork":false,"pushed_at":"2024-07-20T05:51:00.000Z","size":1304,"stargazers_count":79,"open_issues_count":2,"forks_count":24,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-04-12T10:55:58.760Z","etag":null,"topics":["cran","knitr","r","table"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gforge.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-12-20T11:17:53.000Z","updated_at":"2024-07-20T05:50:41.000Z","dependencies_parsed_at":"2024-12-30T05:19:29.029Z","dependency_job_id":"5fbdde4b-eb69-448c-9a24-20313fe389de","html_url":"https://github.com/gforge/htmlTable","commit_stats":{"total_commits":260,"total_committers":11,"mean_commits":"23.636363636363637","dds":"0.15000000000000002","last_synced_commit":"3703f447bd5ec7a3ac76d0858dc2b545c28727b2"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/gforge/htmlTable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gforge%2FhtmlTable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gforge%2FhtmlTable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gforge%2FhtmlTable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gforge%2FhtmlTable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gforge","download_url":"https://codeload.github.com/gforge/htmlTable/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gforge%2FhtmlTable/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265220607,"owners_count":23729848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cran","knitr","r","table"],"created_at":"2024-08-05T03:02:03.129Z","updated_at":"2025-07-13T23:31:45.915Z","avatar_url":"https://github.com/gforge.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"[![Downloads](https://cranlogs.r-pkg.org/badges/htmlTable)](https://cran.r-project.org/package=htmlTable)\n\n# Basics\n\nThe **htmlTable** package is intended for generating tables using [HTML](https://en.wikipedia.org/wiki/HTML) formatting. This format is compatible with [Markdown](https://rmarkdown.rstudio.com/) when used for HTML-output. The most basic table can easily be created by just passing a `matrix` or a `data.frame` to the `htmlTable`-function:\n\n```r\nlibrary(magrittr)\nlibrary(htmlTable)\n# A simple output\noutput \u003c- matrix(1:4,\n                 ncol=2,\n                 dimnames = list(list(\"Row 1\", \"Row 2\"),\n                                 list(\"Column 1\", \"Column 2\")))\nhtmlTable(output)\n```\n\n\u003ctable class='gmisc_table' style='border-collapse: collapse;'  id='table_4'\u003e\n\t\u003cthead\u003e\n\t\u003ctr\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey;'\u003e \u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003eColumn 1\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003eColumn 2\u003c/th\u003e\n\t\u003c/tr\u003e\n\t\u003c/thead\u003e\u003ctbody\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003eRow 1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: left;'\u003eRow 2\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e2\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e4\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\nIf you are using `dplyr` and `tidyverse` a convenient wrapper is the `tidyHtmlTable` function (check out `vignette(\"tidyHtmlTable\")`). A simple example of the `tidyHtmlTable` would look something like this:\n\n```r\nlibrary(tidyverse)\nlibrary(glue)\nmtcars |\u003e\n  as_tibble(rownames = \"rnames\") |\u003e\n  filter(cyl == 6 \u0026 qsec \u003c 18) |\u003e\n  pivot_longer(names_to = \"per_metric\",\n               cols = c(hp, mpg, qsec)) |\u003e\n  arrange(gear, rnames) |\u003e\n  mutate(gear = glue(\"{gear} gears\")) |\u003e\n  addHtmlTableStyle(align = \"r\") |\u003e\n  tidyHtmlTable(header = per_metric, rnames = rnames, rgroup = gear,\n                caption = \"A simple \u003ccode\u003etidyHtmlTable\u003c/code\u003e example using \u003ccode\u003emtcars\u003c/code\u003e\")\n```\n\n\u003ctable class='gmisc_table' style='border-collapse: collapse; margin-top: 1em; margin-bottom: 1em;' \u003e\n\t\u003cthead\u003e\n\t\u003ctr\u003e\u003ctd colspan='4' style='text-align: left;'\u003e\n\t  A simple \u003ccode\u003etidyHtmlTable\u003c/code\u003e example using \u003ccode\u003emtcars\u003c/code\u003e\n\t\u003c/td\u003e\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey;'\u003e \u003c/th\u003e\n\t\t\u003cth style='font-weight: 900; border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: right;'\u003ehp\u003c/th\u003e\n\t\t\u003cth style='font-weight: 900; border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: right;'\u003empg\u003c/th\u003e\n\t\t\u003cth style='font-weight: 900; border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: right;'\u003eqsec\u003c/th\u003e\n\t\u003c/tr\u003e\n\t\u003c/thead\u003e\n\t\u003ctbody\u003e\n\t\u003ctr\u003e\u003ctd colspan='4' style='font-weight: 900;'\u003e4 gears\u003c/td\u003e\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e\u0026nbsp;\u0026nbsp;Mazda RX4\u003c/td\u003e\n\t\t\u003ctd style='text-align: right;'\u003e110\u003c/td\u003e\n\t\t\u003ctd style='text-align: right;'\u003e21\u003c/td\u003e\n\t\t\u003ctd style='text-align: right;'\u003e16.46\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e\u0026nbsp;\u0026nbsp;Mazda RX4 Wag\u003c/td\u003e\n\t\t\u003ctd style='text-align: right;'\u003e110\u003c/td\u003e\n\t\t\u003ctd style='text-align: right;'\u003e21\u003c/td\u003e\n\t\t\u003ctd style='text-align: right;'\u003e17.02\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\u003ctd colspan='4' style='font-weight: 900;'\u003e5 gears\u003c/td\u003e\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: left;'\u003e\u0026nbsp;\u0026nbsp;Ferrari Dino\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: right;'\u003e175\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: right;'\u003e19.7\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: right;'\u003e15.5\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\n# Advanced\n\nWhile it may be sufficient for basic tables a more advanced layout is often needed in medical publications with elements such as:\n\n- row groups\n- column spanners\n- table spanners\n- caption\n- table footer\n- zebra coloring (also know as _banding_):\n  - rows\n  - columns\n\nAs many journals require that a MS Word-document is submitted it is furthermore also important that the table imports correctly to a word processor, i.e. that the table doesn't only look nice in a web browser but also in the final document. The `htmlTable`-function is written for all these purposes.\n\n**Note:** Due to GitHub CSS-styles the rows get automatically zebra-striped (in a bad way), borders get overridden and I haven't been able to figure out how to change this. See the vignette for a correct example: `vignette(\"general\", package = \"htmlTable\")`\n\nFor demonstration purposes we will setup a basic matrix:\n\n```r\nmx \u003c-\n  matrix(ncol=6, nrow=8) |\u003e\n  set_rownames(paste(c(\"1st\", \"2nd\", \"3rd\",\n                       paste0(4:8, \"th\")),\n                     \"row\")) |\u003e\n  set_colnames(paste(c(\"1st\", \"2nd\", \"3rd\",\n                       paste0(4:6, \"th\")),\n                     \"hdr\"))\n\nfor (nr in 1:nrow(mx)){\n  for (nc in 1:ncol(mx)){\n    mx[nr, nc] \u003c-\n      paste0(nr, \":\", nc)\n  }\n}\n```\n\n## Row groups\n\nThe purpose of the row groups is to group variables that belong to the same group, e.g. a factored variable with more than two levels often benefit from grouping variables together.\n\n```r\nhtmlTable(mx,\n          rgroup = paste(\"Group\", LETTERS[1:3]),\n          n.rgroup = c(2,4,nrow(mx) - 6))\n```\n\n\u003ctable class='gmisc_table' style='border-collapse: collapse;'  id='table_4'\u003e\n\t\u003cthead\u003e\n\t\u003ctr\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey;'\u003e \u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e1st hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e2nd hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e3rd hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e4th hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e5th hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e6th hdr\u003c/th\u003e\n\t\u003c/tr\u003e\n\t\u003c/thead\u003e\u003ctbody\u003e\n\t\u003ctr\u003e\u003ctd colspan='7' style='font-weight: 900;'\u003eGroup A\u003c/td\u003e\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e\u0026nbsp;\u0026nbsp;1st row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e\u0026nbsp;\u0026nbsp;2nd row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\u003ctd colspan='7' style='font-weight: 900;'\u003eGroup B\u003c/td\u003e\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e\u0026nbsp;\u0026nbsp;3rd row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e\u0026nbsp;\u0026nbsp;4th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e\u0026nbsp;\u0026nbsp;5th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e\u0026nbsp;\u0026nbsp;6th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\u003ctd colspan='7' style='font-weight: 900;'\u003eGroup C\u003c/td\u003e\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e\u0026nbsp;\u0026nbsp;7th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: left;'\u003e\u0026nbsp;\u0026nbsp;8th row\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:1\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:2\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:3\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:4\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:5\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\nWe can easily mix row groups with regular variables by having an empty row group name `\"\"`:\n\n```r\nhtmlTable(mx,\n          rgroup = c(paste(\"Group\", LETTERS[1:2]), \"\"),\n          n.rgroup = c(2,4,nrow(mx) - 6))\n```\n\n\u003ctable class='gmisc_table' style='border-collapse: collapse;'  id='table_4'\u003e\n\t\u003cthead\u003e\n\t\u003ctr\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey;'\u003e \u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e1st hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e2nd hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e3rd hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e4th hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e5th hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e6th hdr\u003c/th\u003e\n\t\u003c/tr\u003e\n\t\u003c/thead\u003e\u003ctbody\u003e\n\t\u003ctr\u003e\u003ctd colspan='7' style='font-weight: 900;'\u003eGroup A\u003c/td\u003e\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e\u0026nbsp;\u0026nbsp;1st row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e\u0026nbsp;\u0026nbsp;2nd row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\u003ctd colspan='7' style='font-weight: 900;'\u003eGroup B\u003c/td\u003e\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e\u0026nbsp;\u0026nbsp;3rd row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e\u0026nbsp;\u0026nbsp;4th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e\u0026nbsp;\u0026nbsp;5th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e\u0026nbsp;\u0026nbsp;6th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e7th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: left;'\u003e8th row\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:1\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:2\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:3\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:4\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:5\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\nWhen mixing row groups with variables without row groups we may want to omit the bold formatting of the row group label. As of htmlTable version 2.0\nyou can separate the css styling using `addHtmlTableStyle`:\n\n```r\nmx |\u003e\n  addHtmlTableStyle(css.rgroup = \"\") |\u003e\n  htmlTable(rgroup = c(paste(\"Group\", LETTERS[1:2]), \"\"),\n            n.rgroup = c(2,4,nrow(mx) - 6))\n```\n\n\u003ctable class='gmisc_table' style='border-collapse: collapse;'  id='table_4'\u003e\n\t\u003cthead\u003e\n\t\u003ctr\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey;'\u003e \u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e1st hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e2nd hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e3rd hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e4th hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e5th hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e6th hdr\u003c/th\u003e\n\t\u003c/tr\u003e\n\t\u003c/thead\u003e\u003ctbody\u003e\n\t\u003ctr\u003e\u003ctd colspan='7' style=''\u003eGroup A\u003c/td\u003e\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e\u0026nbsp;\u0026nbsp;1st row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e\u0026nbsp;\u0026nbsp;2nd row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\u003ctd colspan='7' style=''\u003eGroup B\u003c/td\u003e\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e\u0026nbsp;\u0026nbsp;3rd row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e\u0026nbsp;\u0026nbsp;4th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e\u0026nbsp;\u0026nbsp;5th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e\u0026nbsp;\u0026nbsp;6th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e7th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: left;'\u003e8th row\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:1\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:2\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:3\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:4\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:5\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Column spanners\n\nA column spanner spans 2 or more columns:\n\n```r\nhtmlTable(mx,\n          cgroup = c(\"Cgroup 1\", \"Cgroup 2\"),\n          n.cgroup = c(2,4))\n```\n\n\u003ctable class='gmisc_table' style='border-collapse: collapse;'  id='table_4'\u003e\n\t\u003cthead\u003e\n\t\u003ctr\u003e\n\t\t\u003cth style='border-top: 2px solid grey;'\u003e\u003c/th\u003e\n\t\t\u003cth colspan='2' style='font-weight: 900; border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003eCgroup 1\u003c/th\u003e\u003cth style='border-top: 2px solid grey;; border-bottom: hidden;'\u003e\u0026nbsp;\u003c/th\u003e\n\t\t\u003cth colspan='4' style='font-weight: 900; border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003eCgroup 2\u003c/th\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey;'\u003e \u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; text-align: center;'\u003e1st hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; text-align: center;'\u003e2nd hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey;' colspan='1'\u003e\u0026nbsp;\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; text-align: center;'\u003e3rd hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; text-align: center;'\u003e4th hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; text-align: center;'\u003e5th hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; text-align: center;'\u003e6th hdr\u003c/th\u003e\n\t\u003c/tr\u003e\n\t\u003c/thead\u003e\u003ctbody\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e1st row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:2\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e2nd row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:2\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e3rd row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:2\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e4th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:2\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e5th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:2\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e6th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:2\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e7th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:2\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: left;'\u003e8th row\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:1\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:2\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:3\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:4\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:5\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\nIt can sometimes be convenient to have column spanners in multiple levels:\n\n```r\nhtmlTable(mx,\n          cgroup = rbind(c(\"\", \"Column spanners\", NA),\n                         c(\"\", \"Cgroup 1\", \"Cgroup 2\")),\n          n.cgroup = rbind(c(1,2,NA),\n                           c(2,2,2)))\n```\n\n\u003ctable class='gmisc_table' style='border-collapse: collapse;'  id='table_4'\u003e\n\t\u003cthead\u003e\n\t\u003ctr\u003e\n\t\t\u003cth style='border-top: 2px solid grey;'\u003e\u003c/th\u003e\n\t\t\u003cth colspan='2' style='font-weight: 900; border-top: 2px solid grey; text-align: center;'\u003e\u003c/th\u003e\u003cth style='border-top: 2px solid grey;; border-bottom: hidden;'\u003e\u0026nbsp;\u003c/th\u003e\n\t\t\u003cth colspan='5' style='font-weight: 900; border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003eColumn spanners\u003c/th\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003cth style=''\u003e\u003c/th\u003e\n\t\t\u003cth colspan='2' style='font-weight: 900; text-align: center;'\u003e\u003c/th\u003e\u003cth style='; border-bottom: hidden;'\u003e\u0026nbsp;\u003c/th\u003e\n\t\t\u003cth colspan='2' style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'\u003eCgroup 1\u003c/th\u003e\u003cth style='; border-bottom: hidden;'\u003e\u0026nbsp;\u003c/th\u003e\n\t\t\u003cth colspan='2' style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'\u003eCgroup 2\u003c/th\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey;'\u003e \u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; text-align: center;'\u003e1st hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; text-align: center;'\u003e2nd hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey;' colspan='1'\u003e\u0026nbsp;\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; text-align: center;'\u003e3rd hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; text-align: center;'\u003e4th hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey;' colspan='1'\u003e\u0026nbsp;\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; text-align: center;'\u003e5th hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; text-align: center;'\u003e6th hdr\u003c/th\u003e\n\t\u003c/tr\u003e\n\t\u003c/thead\u003e\u003ctbody\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e1st row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:2\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:4\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e2nd row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:2\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:4\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e3rd row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:2\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:4\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e4th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:2\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:4\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e5th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:2\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:4\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e6th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:2\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:4\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e7th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:2\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:4\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: left;'\u003e8th row\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:1\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:2\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:3\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:4\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:5\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\nAbove example allows the column spanner to be a sum of the underlying cgroups (see n.cgroup), this is not required by the function:\n\n```r\nhtmlTable(mx,\n          cgroup = rbind(c(\"\", \"Column spanners\", NA),\n                         c(\"\", \"Cgroup 1\", \"Cgroup 2\")),\n          n.cgroup = rbind(c(1,5,NA),\n                           c(2,1,3)))\n```\n\n\u003ctable class='gmisc_table' style='border-collapse: collapse;'  id='table_4'\u003e\n\t\u003cthead\u003e\n\t\u003ctr\u003e\n\t\t\u003cth style='border-top: 2px solid grey;'\u003e\u003c/th\u003e\n\t\t\u003cth colspan='1' style='font-weight: 900; border-top: 2px solid grey; text-align: center;'\u003e\u003c/th\u003e\u003cth style='border-top: 2px solid grey;; border-bottom: hidden;'\u003e\u0026nbsp;\u003c/th\u003e\n\t\t\u003cth colspan='7' style='font-weight: 900; border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003eColumn spanners\u003c/th\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003cth style=''\u003e\u003c/th\u003e\n\t\t\u003cth colspan='3' style='font-weight: 900; text-align: center;'\u003e\u003c/th\u003e\u003cth style='; border-bottom: hidden;'\u003e\u0026nbsp;\u003c/th\u003e\n\t\t\u003cth colspan='1' style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'\u003eCgroup 1\u003c/th\u003e\u003cth style='; border-bottom: hidden;'\u003e\u0026nbsp;\u003c/th\u003e\n\t\t\u003cth colspan='3' style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'\u003eCgroup 2\u003c/th\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey;'\u003e \u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; text-align: center;'\u003e1st hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey;' colspan='1'\u003e\u0026nbsp;\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; text-align: center;'\u003e2nd hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey;' colspan='1'\u003e\u0026nbsp;\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; text-align: center;'\u003e3rd hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey;' colspan='1'\u003e\u0026nbsp;\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; text-align: center;'\u003e4th hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; text-align: center;'\u003e5th hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; text-align: center;'\u003e6th hdr\u003c/th\u003e\n\t\u003c/tr\u003e\n\t\u003c/thead\u003e\u003ctbody\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e1st row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:1\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:2\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:3\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e2nd row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:1\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:2\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:3\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e3rd row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:1\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:2\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:3\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e4th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:1\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:2\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:3\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e5th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:1\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:2\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:3\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e6th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:1\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:2\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:3\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e7th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:1\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:2\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:3\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: left;'\u003e8th row\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:1\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:2\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:3\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:4\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:5\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Table spanners\n\nA table spanner is similar to rgroup but has the primary purpose of combining 2 or more tables with the same columns into one:\n\n```r\nhtmlTable(mx,\n          tspanner = paste(\"Spanner\", LETTERS[1:3]),\n          n.tspanner = c(2,4,nrow(mx) - 6))\n```\n\n\u003ctable class='gmisc_table' style='border-collapse: collapse;'  id='table_4'\u003e\n\t\u003cthead\u003e\n\t\u003ctr\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey;'\u003e \u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e1st hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e2nd hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e3rd hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e4th hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e5th hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e6th hdr\u003c/th\u003e\n\t\u003c/tr\u003e\n\t\u003c/thead\u003e\u003ctbody\u003e\n\t\u003ctr\u003e\u003ctd colspan='7' style='font-weight: 900; text-transform: capitalize; text-align: left;'\u003eSpanner A\u003c/td\u003e\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e1st row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e2nd row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e2:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\u003ctd colspan='7' style='font-weight: 900; text-transform: capitalize; text-align: left; border-top: 1px solid grey;'\u003eSpanner B\u003c/td\u003e\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e3rd row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e3:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e4th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e4:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e5th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e5:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e6th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e6:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\u003ctd colspan='7' style='font-weight: 900; text-transform: capitalize; text-align: left; border-top: 1px solid grey;'\u003eSpanner C\u003c/td\u003e\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e7th row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:2\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:3\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:4\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:5\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e7:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: left;'\u003e8th row\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:1\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:2\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:3\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:4\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:5\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e8:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Table caption\n\nThe table caption is simply the table description and can be either located above or below the table:\n\n```r\nhtmlTable(mx[1:2,1:2],\n          caption=\"A table caption above\")\n```\n\n\u003ctable class='gmisc_table' style='border-collapse: collapse;'  id='table_4'\u003e\n\t\u003cthead\u003e\n\t\u003ctr\u003e\u003ctd colspan='3' style='text-align: left;'\u003e\n\tTable 5:  A table caption above\u003c/td\u003e\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey;'\u003e \u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e1st hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e2nd hdr\u003c/th\u003e\n\t\u003c/tr\u003e\n\t\u003c/thead\u003e\u003ctbody\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e1st row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:2\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: left;'\u003e2nd row\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e2:1\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e2:2\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\n```r\nmx[1:2,1:2] |\u003e\n  addHtmlTableStyle(pos.caption = \"bottom\") |\u003e\n  htmlTable(caption=\"A table caption below\")\n```\n\n\u003ctable class='gmisc_table' style='border-collapse: collapse;'  id='table_5'\u003e\n\t\u003cthead\u003e\n\t\u003ctr\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey;'\u003e \u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e1st hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e2nd hdr\u003c/th\u003e\n\t\u003c/tr\u003e\n\t\u003c/thead\u003e\u003ctbody\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e1st row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:2\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: left;'\u003e2nd row\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e2:1\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e2:2\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\t\u003ctr\u003e\u003ctd colspan='3' style='text-align: left;'\u003e\n\tTable 6:  A table caption below\u003c/td\u003e\u003c/tr\u003e\n\u003c/table\u003e\n\nA more interesting detail that the function allows for is table numbering, initialized by:\n\n```r\noptions(table_counter = TRUE)\n```\n\n```r\nhtmlTable(mx[1:2,1:2],\n          caption=\"A table caption with a numbering\")\n```\n\n\u003ctable class='gmisc_table' style='border-collapse: collapse;' \u003e\n\t\u003cthead\u003e\n\t\u003ctr\u003e\u003ctd colspan='3' style='text-align: left;'\u003e\n\tTable 1:  A table caption with a numbering\u003c/td\u003e\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey;'\u003e \u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e1st hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e2nd hdr\u003c/th\u003e\n\t\u003c/tr\u003e\n\t\u003c/thead\u003e\u003ctbody\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e1st row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:2\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: left;'\u003e2nd row\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e2:1\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e2:2\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\nAs we often want to reference the table number in the text there are two associated functions:\n\n```r\ntblNoLast()\n```\n\n```\n## [1] 1\n```\n\n```r\ntblNoNext()\n```\n\n```\n## [1] 2\n```\n\n## Table footer\n\nThe footer usually contains specifics regarding variables and is always located at the foot of the table:\n\n```r\nhtmlTable(mx[1:2,1:2],\n          tfoot=\"A table footer\")\n```\n\n\u003ctable class='gmisc_table' style='border-collapse: collapse;'  id='table_1'\u003e\n\t\u003cthead\u003e\n\t\u003ctr\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey;'\u003e \u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e1st hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003e2nd hdr\u003c/th\u003e\n\t\u003c/tr\u003e\n\t\u003c/thead\u003e\u003ctbody\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e1st row\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:1\u003c/td\u003e\n\t\t\u003ctd style='text-align: center;'\u003e1:2\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: left;'\u003e2nd row\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e2:1\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: center;'\u003e2:2\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\t\u003ctfoot\u003e\u003ctr\u003e\u003ctd colspan='3'\u003e\n\tA table footer\u003c/td\u003e\u003c/tr\u003e\u003c/tfoot\u003e\n\u003c/table\u003e\n\n## Putting it all together\n\nNow if we want to do everything in one table it may look like this:\n\n```r\nmx |\u003e\n  addHtmlTableStyle(col.columns = c(rep(\"none\", 2), rep(\"#F5FBFF\", 4)),\n                    col.rgroup = c(\"none\", \"#F7F7F7\"),\n                    css.cell = \"padding-left: .5em; padding-right: .2em;\",\n                    align=\"r\") |\u003e\n  htmlTable(rgroup = paste(\"Group\", LETTERS[1:3]),\n            n.rgroup = c(2, 4),\n            cgroup = rbind(c(\"\", \"Column spanners\", NA),\n                           c(\"\", \"Cgroup 1\", \"Cgroup 2\u0026dagger;\")),\n            n.cgroup = rbind(c(1, 2, NA), c(2, 2, 2)),\n            caption=\"A table with column spanners, row groups, and zebra striping\",\n            tfoot=\"\u0026dagger; A table footer commment\",\n            cspan.rgroup = 2)\n```\n\n\u003ctable class='gmisc_table' style='border-collapse: collapse;'  id='table_1'\u003e\n\t\u003cthead\u003e\n\t\u003ctr\u003e\u003ctd colspan='9' style='text-align: left;'\u003e\n\tTable 2:  A table with column spanners, row groups, and zebra striping\u003c/td\u003e\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003cth style='border-top: 2px solid grey;'\u003e\u003c/th\u003e\n\t\t\u003cth colspan='2' style='font-weight: 900; border-top: 2px solid grey; text-align: center;'\u003e\u003c/th\u003e\u003cth style='border-top: 2px solid grey;; border-bottom: hidden;'\u003e\u0026nbsp;\u003c/th\u003e\n\t\t\u003cth colspan='5' style='font-weight: 900; border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'\u003eColumn spanners\u003c/th\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003cth style=''\u003e\u003c/th\u003e\n\t\t\u003cth colspan='2' style='font-weight: 900; text-align: center;'\u003e\u003c/th\u003e\u003cth style='; border-bottom: hidden;'\u003e\u0026nbsp;\u003c/th\u003e\n\t\t\u003cth colspan='2' style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'\u003eCgroup 1\u003c/th\u003e\u003cth style='; border-bottom: hidden;'\u003e\u0026nbsp;\u003c/th\u003e\n\t\t\u003cth colspan='2' style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'\u003eCgroup 2\u0026dagger;\u003c/th\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey;'\u003e \u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; text-align: center;'\u003e1st hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; text-align: center;'\u003e2nd hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey;' colspan='1'\u003e\u0026nbsp;\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; text-align: center;'\u003e3rd hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; text-align: center;'\u003e4th hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey;' colspan='1'\u003e\u0026nbsp;\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; text-align: center;'\u003e5th hdr\u003c/th\u003e\n\t\t\u003cth style='border-bottom: 1px solid grey; text-align: center;'\u003e6th hdr\u003c/th\u003e\n\t\u003c/tr\u003e\n\t\u003c/thead\u003e\u003ctbody\u003e\n\t\u003ctr\u003e\u003ctd colspan='2' style='font-weight: 900;'\u003eGroup A\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; font-weight: 900; text-align: right;'\u003e\u003c/td\u003e\n\t\t\u003ctd style='font-weight: 900;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; font-weight: 900; text-align: right; background-color: #f5fbff;'\u003e\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; font-weight: 900; text-align: right; background-color: #f5fbff;'\u003e\u003c/td\u003e\n\t\t\u003ctd style='font-weight: 900; background-color: #f5fbff;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; font-weight: 900; text-align: right; background-color: #f5fbff;'\u003e\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; font-weight: 900; text-align: right; background-color: #f5fbff;'\u003e\u003c/td\u003e\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e\u0026nbsp;\u0026nbsp;1st row\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right;'\u003e1:1\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right;'\u003e1:2\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #f5fbff;'\u003e1:3\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #f5fbff;'\u003e1:4\u003c/td\u003e\n\t\t\u003ctd style='background-color: #f5fbff;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #f5fbff;'\u003e1:5\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #f5fbff;'\u003e1:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e\u0026nbsp;\u0026nbsp;2nd row\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right;'\u003e2:1\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right;'\u003e2:2\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #f5fbff;'\u003e2:3\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #f5fbff;'\u003e2:4\u003c/td\u003e\n\t\t\u003ctd style='background-color: #f5fbff;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #f5fbff;'\u003e2:5\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #f5fbff;'\u003e2:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\u003ctd colspan='2' style='font-weight: 900; background-color: #f7f7f7;'\u003eGroup B\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; font-weight: 900; background-color: #f7f7f7; text-align: right;'\u003e\u003c/td\u003e\n\t\t\u003ctd style='font-weight: 900; background-color: #f7f7f7;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; font-weight: 900; text-align: right; background-color: #F6F9FB;'\u003e\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; font-weight: 900; text-align: right; background-color: #F6F9FB;'\u003e\u003c/td\u003e\n\t\t\u003ctd style='font-weight: 900; background-color: #F6F9FB;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; font-weight: 900; text-align: right; background-color: #F6F9FB;'\u003e\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; font-weight: 900; text-align: right; background-color: #F6F9FB;'\u003e\u003c/td\u003e\u003c/tr\u003e\n\t\u003ctr style='background-color: #f7f7f7;'\u003e\n\t\t\u003ctd style='background-color: #f7f7f7; text-align: left;'\u003e\u0026nbsp;\u0026nbsp;3rd row\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; background-color: #f7f7f7; text-align: right;'\u003e3:1\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; background-color: #f7f7f7; text-align: right;'\u003e3:2\u003c/td\u003e\n\t\t\u003ctd style='background-color: #f7f7f7;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #F6F9FB;'\u003e3:3\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #F6F9FB;'\u003e3:4\u003c/td\u003e\n\t\t\u003ctd style='background-color: #F6F9FB;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #F6F9FB;'\u003e3:5\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #F6F9FB;'\u003e3:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr style='background-color: #f7f7f7;'\u003e\n\t\t\u003ctd style='background-color: #f7f7f7; text-align: left;'\u003e\u0026nbsp;\u0026nbsp;4th row\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; background-color: #f7f7f7; text-align: right;'\u003e4:1\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; background-color: #f7f7f7; text-align: right;'\u003e4:2\u003c/td\u003e\n\t\t\u003ctd style='background-color: #f7f7f7;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #F6F9FB;'\u003e4:3\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #F6F9FB;'\u003e4:4\u003c/td\u003e\n\t\t\u003ctd style='background-color: #F6F9FB;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #F6F9FB;'\u003e4:5\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #F6F9FB;'\u003e4:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr style='background-color: #f7f7f7;'\u003e\n\t\t\u003ctd style='background-color: #f7f7f7; text-align: left;'\u003e\u0026nbsp;\u0026nbsp;5th row\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; background-color: #f7f7f7; text-align: right;'\u003e5:1\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; background-color: #f7f7f7; text-align: right;'\u003e5:2\u003c/td\u003e\n\t\t\u003ctd style='background-color: #f7f7f7;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #F6F9FB;'\u003e5:3\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #F6F9FB;'\u003e5:4\u003c/td\u003e\n\t\t\u003ctd style='background-color: #F6F9FB;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #F6F9FB;'\u003e5:5\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #F6F9FB;'\u003e5:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr style='background-color: #f7f7f7;'\u003e\n\t\t\u003ctd style='background-color: #f7f7f7; text-align: left;'\u003e\u0026nbsp;\u0026nbsp;6th row\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; background-color: #f7f7f7; text-align: right;'\u003e6:1\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; background-color: #f7f7f7; text-align: right;'\u003e6:2\u003c/td\u003e\n\t\t\u003ctd style='background-color: #f7f7f7;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #F6F9FB;'\u003e6:3\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #F6F9FB;'\u003e6:4\u003c/td\u003e\n\t\t\u003ctd style='background-color: #F6F9FB;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #F6F9FB;'\u003e6:5\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #F6F9FB;'\u003e6:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\u003ctd colspan='2' style='font-weight: 900;'\u003eGroup C\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; font-weight: 900; text-align: right;'\u003e\u003c/td\u003e\n\t\t\u003ctd style='font-weight: 900;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; font-weight: 900; text-align: right; background-color: #f5fbff;'\u003e\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; font-weight: 900; text-align: right; background-color: #f5fbff;'\u003e\u003c/td\u003e\n\t\t\u003ctd style='font-weight: 900; background-color: #f5fbff;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; font-weight: 900; text-align: right; background-color: #f5fbff;'\u003e\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; font-weight: 900; text-align: right; background-color: #f5fbff;'\u003e\u003c/td\u003e\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='text-align: left;'\u003e\u0026nbsp;\u0026nbsp;7th row\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right;'\u003e7:1\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right;'\u003e7:2\u003c/td\u003e\n\t\t\u003ctd style='' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #f5fbff;'\u003e7:3\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #f5fbff;'\u003e7:4\u003c/td\u003e\n\t\t\u003ctd style='background-color: #f5fbff;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #f5fbff;'\u003e7:5\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; text-align: right; background-color: #f5fbff;'\u003e7:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; text-align: left;'\u003e\u0026nbsp;\u0026nbsp;8th row\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; border-bottom: 2px solid grey; text-align: right;'\u003e8:1\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; border-bottom: 2px solid grey; text-align: right;'\u003e8:2\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; border-bottom: 2px solid grey; text-align: right; background-color: #f5fbff;'\u003e8:3\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; border-bottom: 2px solid grey; text-align: right; background-color: #f5fbff;'\u003e8:4\u003c/td\u003e\n\t\t\u003ctd style='border-bottom: 2px solid grey; background-color: #f5fbff;' colspan='1'\u003e\u0026nbsp;\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; border-bottom: 2px solid grey; text-align: right; background-color: #f5fbff;'\u003e8:5\u003c/td\u003e\n\t\t\u003ctd style='padding-left: .5em; padding-right: .2em; border-bottom: 2px solid grey; text-align: right; background-color: #f5fbff;'\u003e8:6\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\t\u003ctfoot\u003e\u003ctr\u003e\u003ctd colspan='9'\u003e\n\t\u0026dagger; A table footer comment\u003c/td\u003e\u003c/tr\u003e\u003c/tfoot\u003e\n\u003c/table\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgforge%2FhtmlTable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgforge%2FhtmlTable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgforge%2FhtmlTable/lists"}