HTML Tag <TBODY>

HTML Tag <TBODY>

<TBODY> Defines the table body within a table. This tag must follow the <TFOOT> tag.

Attribute of <TBODY> Tag

ALIGN

Specifies how text within the table footer will line up with the edges of the table cells, or if ALIGN=CHAR, on a specific character (the decimal point).

<TR> <THEAD> <TH><B>Cs-tutorial</B></TH> <TH> <IMG SRC="logo.gif" ALT="logo" BORDER="0"> </TH> </THEAD> </TR>

Possible Values

LEFT, RIGHT, CENTER, JUSTIFY



CHAR

Specifies the character on which cell contents will align, if ALIGN=ÓCHARÓ. If you omit CHAR=, the default value is the decimal point in the specified language.

<THEAD ALIGN="CHAR" CHAR=",">

Possible Values

Any Character.



CHAROFF

Specifies the number of characters from the left at which the alignment character appears.

<THEAD ALIGN="CHAR" CHAR="," CHAROFF="7">

Possible Values

Any Integer Number.



CLASS

Indicates which style class applies to the <TBODY> element.

<TBODY CLASS="dkm">

Possible Values

Any Class Nmae.



ID

Assigns a unique ID selector to an instance of the <TBODY> tag. When you then assign a style to that ID selector, it affects only that one instance of the <TBODY> tag.

<TBODY ID="dkm">

Possible Values

Any ID Name.



STYLE

Specifies Style Sheet commands that apply to the contents between the <TBODY>tags.

<TBODY STYLE="background: red">

Possible Values

CSS Property with value.



TITLE

Specifies text assigned to the tag. You might use this attribute for context-sensitive help within the document. Browsers may use this to show tool tips over the table body.

<TBODY TITLE="Subject list">

Possible Values

Any text Message.



VALIGN

Specifies the vertical alignment of the contents of the table body.

<TBODY VALIGN=MIDDLE>

Possible Values

TOP, BOTTOM, MIDDLE, BASELINE




CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad