Skip to content

Captions for Tables #4

@flywire

Description

@flywire

The caption Tag is used to specify the caption of a table. This tag will be inserted just after the <table> tag.

Markdown does not define a caption for tables. This could be done by convention, alternatively using an Officially Supported Extension, as shown below, before rendering.

Table Example with heading, two columns and a row

| Syntax      | Description |
| ----------- | ----------- |
| Header      | Title       |
| Paragraph   | Text        |
<p>Table Example with heading, two columns and a row</p>
<table>
<thead>
<tr>
<th>Syntax</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>Header</td>
<td>Title</td>
</tr>
<tr>
<td>Paragraph</td>
<td>Text</td>
</tr>
</tbody>
</table>

Output

Table Example with heading, two columns and a row

Syntax Description
Header Title
Paragraph Text

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions