Tag | Tag attribute | Function |
---|---|---|
<table> | Begins a table. | |
border="..." | Sets the border width in numerical values from 0 and up. | |
cellspacing="..." | Empty space between table data cells. | |
cellpadding="..." | Empty space between the edge of a cell and cell content. | |
align="..." | Aligns the table to the left, right or center. | |
width="..." | The width of the table; measured in pixels or as a percentage of available space. | |
bgcolor="..." | Background color for all cells that do not have a background color or image specified. | |
background="..." | Background image for all cells that do not have a background color or image specified. | |
bordercolor="..." | Border color for the table. | |
bordercolorlight="..." | Light border color. When used with bordercolordark, helps to create a 3d effect. (Internet Explorer) | |
bordercolordark="..." | Dark border color. When used with bordercolorlight, helps to create a 3d effect. (Internet Explorer) | |
valign="..." | Vertical alignment of the content, values are top or bottom. | |
<tr> | Establishes a table row. | |
align="..." | Horizontal alignment of the content of all cells within this row. Values are left, right and center. | |
valign="..." | Vertical alignment of all cells within this row. Values are top, middle, bottom, and baseline. | |
bgcolor="..." | Background color of all cells within this row that don't have their own background color or background image. | |
background="..." | Background image of all cells within this row that don't have their own background color or background image. | |
bordercolor="..." | Border color for this row (Internet Explorer). | |
bordercolorlight="..." | Light border color for 3d look (Internet Explorer). | |
bordercolordark="..." | Dark border color for 3d look (Internet Explorer). | |
<th> | Begins the table header cell. *See note. | |
align="..." | Horizontal alignment of the cell content. Values are left, right and center. | |
valign="..." | Vertical alignment of the cell content. Values are top, middle, bottom, and baseline. | |
rowspan="..." | The number of rows the cell will span. | |
colspan="..." | The number of columns the cell will span. | |
nowrap | Prevents cell content from automatically wrapping. | |
width="..." | The width of this cell, expressed in pixels or percentage. | |
bgcolor="..." | Background color of the cell. | |
background="..." | Background image of the cell. | |
bordercolor="..." | Border color of the cell (Internet Explorer). | |
bordercolorlight="..." | Light border color for 3d look. (Internet Explorer) | |
bordercolordark="..." | Dark border color for 3d look. (Internet Explorer) | |
<td> | Begins the table data cell. | |
align="..." | Horizontal alignment of the cell content. Values are left, right and center. | |
valign="..." | Vertical alignment of the cell content. Values are top, middle, bottom, and baseline. | |
rowspan="..." | The number of rows the cell will span. | |
colspan="..." | The number of columns the cell will span. | |
nowrap | Prevents cell content from automatically wrapping. | |
width="..." | The width of this cell, expressed in pixels or percentage. | |
bgcolor="..." | Background color of the cell. | |
background="..." | Background image of the cell. | |
bordercolor="..." | Border color of the cell (Internet Explorer). | |
bordercolorlight="..." | Light border color for 3d look. (Internet Explorer) | |
bordercolordark="..." | Dark border color for 3d look. (Internet Explorer) | |
</td> | Closes a table data cell. | |
</th> | Closes a table header cell. | |
</tr> | Closes a table row. | |
</table> | Closes a table. |
Kode Tag Untuk Table
Langganan:
Postingan (Atom)