Html4newbies
Put your hands into html and php
Home
Privacy
About
Contact

Hosting Links
Hosting
Free Php Snippets
Php Snippets 1
Php Snippets 2
Html Tag Table Data


TD - table data

Description :

The TD tag specifies text in a cell in a table. Use the TD tag inside a TR tag inside a TABLE tag. You can set the background color of a cell by specifying its BGCOLOR attribute. For each cell, you can use the COLSPAN and ROWSPAN attributes to specify how many columns and rows the cell spans.

Syntax

<TD ALIGN="center|right|left" VALIGN="baseline|bottom|middle|top" BGCOLOR="color" COLSPAN="value" ROWSPAN="value" HEIGHT="pixelHeight" WIDTH="pixelWidth" NOWRAP="value">...</TD>

Attributes

ALIGN specifies the horizontal placement of the contents of the cell:
CENTER centers the content within the cell.
LEFT aligns the content within the cell to the left (the default).
RIGHT aligns the content within the cell to the right.

VALIGN specifies the vertical placement of the content in the cell:
BASELINE aligns the content with the cell's baseline.
BOTTOM aligns the content with the cell's bottom.
MIDDLE centers the content within the cell (the default).
TOP aligns the content with the cell's top.

BGCOLOR specifies the default color of the background of the table cell.
COLSPAN specifies the number of columns the cell spans. Give the number as an integer.
ROWSPAN specifies the number of rows the cell spans. Give the value as an integer.
HEIGHT specifies the suggested height of the table cell, in pixels.
WIDTH specifies the suggested width of the table cell, in pixels.
NOWRAP specifies that the lines within a cell cannot be broken (that is, they do not wrap onto the next line).


Copyright © 2002-2017 Html4newbies - HarlandScripts.com NetWork