Page 95 - CA 165 ver 1.0 Class 10
P. 95
<TH>2</TH>
<TD>SANTY</TD>
<TD>PAUL</TD>
<TD>MANIPAL</TD>
</TR>
</TABLE>
First row of the
table as heading.
Attributes of Table Tag
The following attributes are used with <TABLE> tag:
BORDER CELLPADDING CELLSPACING
HEIGHT WIDTH BGCOLOR
BORDER Attribute
This attribute is used to insert border in the table for its rows and columns. The thickness of the border is
specified by the value of number. By default, the thickness of the border is ‘1’. Syntax to use the BORDER
attribute of the <TABLE> tag is as follows:
<TABLE BORDER = “Value”>
For example:
<TABLE BORDER=“2”>
Table with border.
More About HTML 93

