HTML Help: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
* <td> tag defines a standard cell in an HTML table, contains data, text are regular and left-aligned by default.
* <td> tag defines a standard cell in an HTML table, contains data, text are regular and left-aligned by default.


 
<td> Attributes:
 
Attribute Value Description DTD
abbr text Specifies an abbreviated version of the content in a cell STF
align left
right
center
justify
char Aligns the content in a cell STF
axis category_name Categorizes cells STF
bgcolor rgb(x,x,x)
#xxxxxx
colorname Deprecated. Use styles instead.
Specifies the background color of a cell TF
char character Aligns the content in a cell to a character STF
charoff number Sets the number of characters the content will be aligned from the character specified by the char attribute STF
colspan number Specifies the number of columns a cell should span STF
headers header_id Specifies one or more header cells a cell is related to STF
height pixels
% Deprecated. Use styles instead.
Sets the height of a cell TF
nowrap nowrap Deprecated. Use styles instead.
Specifies that the content inside a cell should not wrap TF
rowspan number Sets the number of rows a cell should span STF
scope col
colgroup
row
rowgroup Defines a way to associate header cells and data cells in a table STF
valign top
middle
bottom
baseline Vertical aligns the content in a cell STF
width pixels
% Deprecated. Use styles instead.
Specifies the width of a cell TF
 
 





Revision as of 10:22, 10 August 2012

HTML

  • tag defines a row in an HTML table; element contains one or more or elements
  • tag defines a header cell in an HTML table, contains header information, text are bold and centered by default.
  • tag defines a standard cell in an HTML table, contains data, text are regular and left-aligned by default.

Attributes:





Smarty