The HTML frameborder attribute
Example
A two-frame page without borders:
Try it »
Browser support





All major browsers support the frameborder attribute.
Definition and Usage
HTML5 does not support the tag.
The frameborder attribute specifies whether to display a border around a frame.
**Tip:** For practical reasons, it is best not to set this attribute; use CSS to apply border styles and colors.
Syntax
Attribute values
| Value | Description |
|---|---|
| 1 | With a border (default). |
| 0 | Without a border. |
HTML tag