On this page
  1. <table>
  2. Summary
  3. Notes & Best Practices
  4. Example

<table>

Prev: `<video>` | Up: media | Next: `<svg>`
Rel: media, Tables & Media Guide
Ref: MDN Web Docs — <table>
Tags: #public #web #html #elements #media #tier/core


Summary

Tabular data grid with explicit row/column headers (<th scope="col|row">).

Notes & Best Practices

Example

<table>
  <caption>Release Metrics</caption>
  <thead><tr><th scope="col">Version</th><th scope="col">Size</th></tr></thead>
  <tbody><tr><th scope="row">v1.0</th><td>42 KB</td></tr></tbody>
</table>

Linked from

Related notes