This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

Table Classes, Captions, Headers and Footers

19th August 2022 at 10:13am

Table CSS classes, captions, headers and footers can be specified as special pseudo-rows. The following example:

  • |myclass anotherClass|k assigns the CSS classes "myclass" and "anotherClass" to the table
  • |This is a caption |c gives the table the caption "This is a caption"
  • |Header|Header|h adds a header row of cells with the text "Header"
  • |Footer|Footer|f adds a footer row of cells with the text "Footer"

|myclass anotherClass|k
|This is a caption |c
|Cell1 |Cell2 |
|Cell3 |Cell3 |
|Header|Header|h
|Footer|Footer|f

That renders as:

This is a caption
Cell1Cell2
Cell3Cell3
HeaderHeader
FooterFooter