HTML - статьи

TBODY


Description

The TBODY element encloses a series of table row definitions and

specifies the defaults for all the rows in this group.

Table rows are grouped inside the

content into at most one ,

at most one ,

and at least one TBODY sections, in that order.

Depending on the capabilities of the browser, this sectioning can be used to

repeat table head and foot rows when breaking tables across page

boundaries, or to provide fixed headers above and footers below

a scrollable body panel, or other similar rendering schemes.

Minimum Attributes

<TBODY>



All Possible Attributes

<TBODY

LANG="..."

DIR=ltr|rtl

ID="..."

CLASS="..."

ALIGN=left|right|center|justify|char

CHAR="..."

CHAROFF="..."

VALIGN=top|middle|bottom|baseline>characters...</TBODY>

Elements Allowed Within...

Allowed In Content Of...

Variations

The TBODY element is a part of the latest table proposal.

This TBODY element is new and not widely implemented.

Both the starting and ending elements are optional for this element.

This implies that a TABLE with only one TBODY does not require

the TBODY element since the first TR element not inside a THEAD

or TFOOT but inside a TABLE will imply the TBODY content.

This also allows this proposal to be backwards compatible with

existing documents which have a simple TABLE element whose content

consists of only a series of row and data elements.

The table proposal states that a browser may display

ALIGN=justify the same as the default

ALIGN=left if it lacks support for text justification.

The CHAR and CHAROFF attributes are used when ALIGN=char.

CHAR specifies a single character to be used for alignment, and

defaults to the decimal point in the current language.

CHAROFF specifies the offset, in the DIR direction, to the first

occurrence of the CHAR character on each line. If a line doesn't

include the CHAR character, it is to end at the CHAROFF position.

The default value for CHAROFF is either 50% or whatever will cause

the CHAR characters in all cells with a declared CHAR in a column to align.

The default units is pixels, but may be specified by a suffix on the number.

The standard defined units suffixes include:

pt=points,

pi=picas,

in=inches,

cm=centimeters,

mm=millimeters,

em=em units,

px=screen pixels.

In addition the suffix of a percentsign may be used to specify the

percentage offset within the cell.

The VALIGN attribute defines the vertical alignment of the cell contents.

The ALIGN, CHAR and CHAROFF attribute values may be inherited from

other table elements in the following order:

cells < columns < column groups < rows < row groups < default.

The VALIGN, LANG and DIR attribute values may be inherited from

other table elements in the following order:

cells < rows < row groups < columns < column groups < table < default.



Содержание раздела