Home Menu

table

The table HTML element represents data with more than one dimension, in the form of a table.

Syntax

HTML

<table attribute-name="attribute-value"></table>

Attributes

Global

Name Value Description
summary string Prose description of the structure of the table

CSS

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

Examples

summary

CSS

Internal

caption

col

colgroup

tbody

td

tfoot

th

thead

tr

External

Web Hypertext Application Technology Working Group (WHATWG)

JesusBible
HTMLCSSJSPHPSVGMore
AboutTerms