Application Development
Table Tags
The following table tags are supported:
•
•
•
•
Note | XHTML tables must be properly formatted (should include <tbody> and </tbody> |
| tags). |
|
|
<table>
The <table> tag defines a table. Inside a <table> tag you can put table headers, table rows, table cells, and other tables.
The following attributes are supported:
Attribute | Value/s | Description |
|
|
|
align | Left | Aligns the table. Deprecated. Use |
| center | styles instead. |
| right |
|
|
|
|
border | Pixels (number, EX: “30” ) | Specifies the border width. |
|
| Tip: Set border="0" to display |
|
| tables with no borders! |
|
|
|
cellpaddin | Pixels (number, EX: “30” ) | Specifies the space between the |
g | % | cell walls and contents |
|
| |
|
|
|
cellspacin | Pixels (number, EX: “30” ) | Specifies the space between cells. |
g | % |
|
|
| |
|
|
|
width | % | Specifies the width of the table |
| Pixels (number, EX: “30” ) |
|
|
|
|
2 - 7