Web Platform Atlas
EN⚡RUUA⚡DE⚡FR⚡ES⚡PL⚡PT⚡ZH⚡JA⚡
Каталог / HTML / The col element

4.9.4 The col element

Статический предпросмотр (RU): для MDN, WPT, глоссария и BYOK-перевода откройте интерактивный Атлас.
⚡ Открыть главу в Атласе

4.9.4 The col element

Категории:

None.

Контексты, в которых может использоваться этот элемент:

As a child of a colgroup element that doesn't have a span attribute.

Контентная модель:

Nothing.

Опущение тегов в text/html:

No end tag.

Атрибуты контента:

глобальные атрибуты

span — Number of columns spanned by the element

Специфика доступности:

Для авторов.

Для разработчиков.

Санитизация:

Default with attributes span.

DOM-интерфейс:

Uses HTMLTableColElement, as defined for colgroup elements.

If a col element has a parent and that is a colgroup element that itself has a parent that is a table element, then the col element represents one or more columns in the column group represented by that colgroup.

The element may have a span content attribute specified, whose value must be a valid non-negative integer greater than zero and less than or equal to 1000.

The col element and its span attribute take part in the table model.