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

NameValueDescription
summarystringProse description of the structure of the table

CSS

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

Examples

1 · summary

2 · CSS

HomeMenu