table

The table element represents a table; that is, data with more than one dimension.

Attributes

<table attribute-name="attribute-value"></table>
Name Value Description
summary string Prose description of the structure of the table

Global

CSS

table {
  border-collapse: separate;
  border-color: gray;
  border-spacing: 2px;
  display: table;
}

Example | summary

Example | CSS

External

W3C HTML 4.01 Specification

W3C HTML5

W3C HTML 5.1