Table
Table is a direct WebPageElement subtype for HTML tables embedded in a page. No unique properties.
For downloadable spreadsheet files, use SpreadsheetDigitalDocument. For structured datasets, use Dataset. Use Table for in-page rendering metadata (the HTML table element itself).
Full example of schema.org/Table json-ld markup
The markup is verified as valid with Rich Results Test from Google.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Table",
"name": "XooStructured plan comparison",
"about": "Side-by-side comparison of Starter, Team, and Enterprise plans.",
"cssSelector": "table.plans"
}
</script>Minimal valid version
The smallest markup that still produces a valid Table entity. Use it as the floor. Reach for the advanced example above when you want search engines and AI agents to understand more about your content.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Table",
"name": "Plan comparison",
"cssSelector": "table.plans"
}
</script>Google rich results this unlocks
Table is a structural type. It does not produce a rich result on its own.
Its value comes from combining it with a primary type whose markup earns a rich result (Article, Product, Event, and so on). Table becomes the trunk that the primary type branches off viamainEntityorbreadcrumb. Include it on every page as the backbone of your markup.
Common Table mistakes
Mistakes that pass validation but silently fail to earn rich results or mislead consumers walking the graph. Avoid these and your markup will be ahead of most sites in the wild.
- 01
Table for downloadable spreadsheets
WrongTable for an XLSX fileRightSpreadsheetDigitalDocument for files; Table for in-page tablesDifferent surfaces: file vs rendered element.
- 02
Table for datasets
WrongTable for a public datasetRightDataset + DataDownload for datasets; Table only for HTML renderingDatasets carry publishing / licensing / distribution metadata Table does not.
Schema properties in this example
About the example data
The pricing-tier comparison table on the XooStructured pricing page.
Comments
Loading comments...