<TABLE
ALIGN=LEFT|CENTER|RIGHT|BLEEDLEFT|
BLEEDRIGHT|JUSTIFY
BACKGROUND=url
BGCOLOR=color
BORDER=n
BORDERCOLOR=color
BORDERCOLORDARK=color
BORDERCOLORLIGHT=color
CELLPADDING=n
CELLSPACING=n
CLASS=type
CLEAR=LEFT|RIGHT|ALL|NO
COLS=n
FRAME=frame-type
ID=value
NOWRAP
RULES=rule-type
STYLE=css1 properties
VALIGN=TOP|MIDDLE|BOTTOM|BASELINE
WIDTH=n>
</TABLE>
Defines a table. Use the TR, TD, and TH elements in the container to create the rows, columns, and cells. The end-tag is required.
The optional THEAD, TBODY, TFOOT, COLGROUP, and COL elements can be used to organize a table and apply attributes across columns and groups of columns.
LEFT | The table is left-aligned. |
CENTER | The table is centered on the page. |
RIGHT | The table is right-aligned. If the table is less than the width of the window, text following the table wraps along the left side of the table. |
BLEEDLEFT | The table bleeds over the margin into the left side of the document. |
BLEEDRIGHT | The table bleeds over the margin into the right side of the document. |
JUSTIFY | The table fits the left and right margin definitions. |
NO | Text appears immediately after the table. |
LEFT | Text appears as the first left-aligned line after the table. |
RIGHT | Text appears as the first right-aligned line after the table. |
ALL |
BORDER | Displays a border on all sides of the table frame. This is the default. |
VOID | Removes all outside table borders. |
ABOVE | Displays a border on the top side of the table frame. |
BELOW | Displays a border on the bottom side of the table frame. |
HSIDES | Displays a border on the top and bottom sides of the table frame. |
LHS | Displays a border on the left-hand side of the table frame. |
RHS | Displays a border on the right-hand side of the table frame. |
VSIDES | Displays a border on the left and right sides of the table frame. |
BOX | Displays a border on all sides of the table frame. |
NONE | Removes all interior table borders. This is the default. |
GROUPS | Displays horizontal borders between all table groups. Groups are specified by the THEAD, TBODY, TFOOT, and COLGROUP elements. |
ROWS | Displays horizontal borders between all table rows. |
COLS | Displays vertical borders between all table columns. |
ALL | Displays a border on all rows and columns. |
TOP | The table is aligned at the top. |
MIDDLE | The table is vertically aligned at the middle. |
BOTTOM | The table is vertically aligned with the bottom. |
BASELINE | The table is aligned with the text baseline. |
Example
<TABLE BORDER=1 WIDTH=80%> <THEAD> <TR> <TH>Heading 1</TH> <TH>Heading 2</TH> </TR> <TBODY> <TR> <TD>Row 1, Column 1 text.</TD> <TD>Row 1, Column 2 text.</TD> </TR> <TR> <TD>Row 2, Column 1 text.</TD> <TD>Row 2, Column 2 text.</TD> </TR> </TABLE>
file: /Techref/language/html/r020/slide72.htm, 14KB, , updated: 2005/1/6 15:56, local time: 2024/8/14 18:23,
3.145.17.199:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/techref/language/html/r020/slide72.htm"> HTML Reference</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.