The
<table> tag has quite a few other attributes that
control various aspects of displaying the table. These are:
Align
|
Left, centre or right
|
Controls how the entire table is aligned on the page
|
Bgcolor
|
A color name, an RGB() value, or a hex value (#xxxxxx)
|
Specifies the background color of the table.
|
Border
|
A number 0 or higher
|
Determines the width of the border in pixels. Set to 0 for
no border.
|
Cellpadding
|
A number with or without %
|
Sets the space between cells, expressed in pixels or as a
percentage of the cell width.
|
Note
Align and bgcolor are not supported in XHTML
Use these attributes and notice the changes in your browser by comparing with previous result.
Align and bgcolor are not supported in XHTML
Use these attributes and notice the changes in your browser by comparing with previous result.
0 comments:
Post a Comment