Table

A table on a Web page.

Example eg-0018

Without Markup (source lint)

<h2>list of presidents</h2>>
<table>
  <tr><th>President</th><th>Party</th></tr>
  <tr>
    <td>George Washington (1789-1797)</td>
    <td>no party</td>
  </tr>
  <tr>
    <td>John Adams (1797-1801)</td>
    <td>Federalist</td>
  </tr>
  ...
</table>

RDFa (source lint)

<div vocab="https://schema.org/" typeof="Table">
  <h2 property="about">list of presidents</h2>
  <table>
    <tr><th>President</th><th>Party</th></tr>
    <tr>
      <td>George Washington (1789-1797)</td>
      <td>no party</td>
    </tr>
    <tr>
      <td>John Adams (1797-1801)</td>
      <td>Federalist</td>
    </tr>
    ...
  </table>
</div>

microdata (source lint)

<div itemscope itemtype="https://schema.org/Table">
  <h2 itemprop="about">list of presidents</h2>
  <table>
    <tr><th>President</th><th>Party</th></tr>
    <tr>
      <td>George Washington (1789-1797)</td>
      <td>no party</td>
    </tr>
    <tr>
      <td>John Adams (1797-1801)</td>
      <td>Federalist</td>
    </tr>
    ...
  </table>
</div>

JSON-LD (source lint)

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Table",
  "about": "list of presidents"
}
</script>

structured

rdf:type schema:Table
schema:about list of presidents