# Tables

Basic text table

|    |    |    |
| -- | -- | -- |
| A1 | B1 | C1 |
| A2 | B2 | C2 |
| A3 | B3 | C3 |

With header

| A  | B  | C  |
| -- | -- | -- |
| A1 | B1 | C1 |
| A2 | B2 | C2 |
| A3 | B3 | C3 |

With header hidden

| A1 | B1 | C1 |
| -- | -- | -- |
| A2 | B2 | C2 |
| A3 | B3 | C3 |

With resized column (B being larger)

<table><thead><tr><th>A</th><th width="359">B</th><th>C</th></tr></thead><tbody><tr><td>A1</td><td>B1</td><td>C1</td></tr><tr><td>A2</td><td>B2</td><td>C2</td></tr><tr><td>A3</td><td>B3</td><td>C3</td></tr></tbody></table>

With text alignment (A to the right, B centered, C to the left)

|                                           A |                       B                      | C                                            |
| ------------------------------------------: | :------------------------------------------: | -------------------------------------------- |
|                                          A1 |                      B1                      | C1                                           |
| [A with annotation](#user-content-fn-1)[^1] | [B2 with annotation](#user-content-fn-1)[^1] | [C2 with annotation](#user-content-fn-1)[^1] |
|              Pasted right-aligned paragraph |        Pasted right-aligned paragraph        | Pasted right-aligned paragraph               |

Tables with different column types

<table><thead><tr><th></th><th><select multiple><option value="QHptTCeA1iZf" label="A tag that is quite long" color="blue"></option><option value="BNH9LDlHzENG" label="A short one" color="blue"></option><option value="Y2Vf5i8z6920" label="Another one" color="blue"></option></select></th></tr></thead><tbody><tr><td>Some intro text</td><td><span data-option="BNH9LDlHzENG">A short one, </span><span data-option="QHptTCeA1iZf">A tag that is quite long, </span><span data-option="Y2Vf5i8z6920">Another one</span></td></tr><tr><td>Short intro text</td><td><span data-option="BNH9LDlHzENG">A short one</span></td></tr><tr><td>Another text</td><td><span data-option="Y2Vf5i8z6920">Another one</span></td></tr></tbody></table>

Table with full-width

<table data-full-width="true"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td>A1</td><td>B1</td><td>C1</td></tr><tr><td>A2</td><td>B2</td><td>C2</td></tr><tr><td>A3</td><td>B3</td><td>C3</td></tr></tbody></table>

Table with ratings

<table><thead><tr><th></th><th data-type="rating" data-max="5">Rating A</th><th data-type="rating" data-max="5">Rating B</th></tr></thead><tbody><tr><td>R1</td><td>3</td><td>1</td></tr><tr><td>R2</td><td>5</td><td>null</td></tr><tr><td>R3</td><td>null</td><td>4</td></tr></tbody></table>

Table with files

<table><thead><tr><th></th><th data-type="files"></th></tr></thead><tbody><tr><td>An image file</td><td><a href="https://2711667370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTTP0yGzzc0gLR37hd6yw%2Fuploads%2FIzOZKhApFW406fJhQR3m%2F16x16.png?alt=media&#x26;token=84af7b93-efa2-407a-9e66-94839aeaaeb9">16x16.png</a></td></tr><tr><td>An openAPI file</td><td><a href="https://2711667370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTTP0yGzzc0gLR37hd6yw%2Fuploads%2F9FrDesWqjAAzHBWK0UFT%2Fopenapi.yaml?alt=media&#x26;token=55e073a0-5608-4cff-b722-cdfb61b0fbb1">openapi.yaml</a></td></tr><tr><td>No file</td><td></td></tr></tbody></table>

Table with checkbox

<table><thead><tr><th></th><th data-type="checkbox">Checkbox</th></tr></thead><tbody><tr><td>Checked</td><td>true</td></tr><tr><td>Not checked</td><td>false</td></tr><tr><td>Checked</td><td>true</td></tr></tbody></table>

Table with content references

<table><thead><tr><th></th><th data-type="content-ref">Link</th></tr></thead><tbody><tr><td>Page</td><td><a href="../text-page">text-page</a></td></tr><tr><td>Page with emoji</td><td><a href="../page-options/page-with-emoji">page-with-emoji</a></td></tr><tr><td>Page with icon</td><td><a href="../page-options/page-with-icon">page-with-icon</a></td></tr></tbody></table>

[^1]: This fact is very accurate
