->we can control the “Borders with in the table” by using the attribute called “Rules”
->we can control the “Outside borders of the table”by using the attribute called “Frame”
->Use both attributes with the conjunction of “border” attribute.
–><table border=”1″ rules=”rows”>
rules=rows—>means apply the borders only for the rows with in the table.
rules=cols—>means apply the borders only for the rows with in the table.
rules=none—>No rules.this is default value.
rules=all–>rules will apply to all rows and cols.
<table border=”2″ frame=”vsides”>
–>frame=void—>means no outside borders.
frame=above—->means top
frame=below—->bottom
frame=hside—–>horizontal sides
frame=vside—->vertical sides
–><colgroup> and <col> are another parts to help define parts of table more easily.
–>span:Defines the number of columns the <colgroup> should span.
Example to explain rules and frames
Output:

