Name
colgroup — A group of columns in an HTML table
Synopsis
colgroup ::=
col
*
Attribute synopsis
Attributes:
align
(enumeration) = “left” | “center” | “right” | “justify” | “char”char
charoff
(enumeration) =xsd:integer
|xsd:string
(Pattern: “[0–9]+%”)span
(nonNegativeInteger)valign
(enumeration) = “top” | “middle” | “bottom” | “baseline”width
Description
Identifies a column group in an HTML table.
Processing expectations
Processed like an HTML colgroup
.
Attributes
- align
Specifies the alignment of data and the justification of text in a cell.
Enumerated values: “left” Left-flush data/Left-justify text. This is the default value for table data.
“center” Center data/Center-justify text. This is the default value for table headers.
“right” Right-flush data/Right-justify text.
“justify” Double-justify text.
“char” Align text around a specific character. If a user agent doesn’t support character alignment, behavior in the presence of this value is unspecified.
- char
Specifies a single character within a text fragment to act as an axis for alignment. The default value for this attribute is the decimal point character for the current language as set by the
lang
attribute (e.g., the period in English and the comma in French). User agents are not required to support this attribute.- charoff
When present, specifies the offset to the first occurrence of the alignment character on each line. If a line doesn’t include the alignment character, it should be horizontally shifted to end at the alignment position. When
charoff ...
Get DocBook 5: The Definitive Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.