HTML
Example
Display only the borders between rows:
| Month | Savings |
|---|---|
| January | $100 |
Try it »
Browser support





Internet Explorer 9+, Firefox, Opera, Chrome, and Safari support the rules attribute.
**Note:** Internet Explorer 8 and earlier versions do not support
**Note:** Chrome and Safari do not display this attribute correctly: in addition to the inner borders, an affected outer border is also added.
Definition and Usage
HTML5 does not support
The rules attribute specifies which parts of the inner borders are visible.
From a practical standpoint, it is best not to specify rules, but to use CSS to add borders (border styles).
HTML