Easy Tutorial
❮ Att Hr Width Js Tutorial ❯

HTML <iframe> frameborder Attribute

HTML <iframe> Tag

Example

An <iframe> without a border:


Browser Support

All major browsers support the frameborder attribute.


Definition and Usage

The frameborder attribute specifies whether to display a border around the <iframe>.

Tip: For practical reasons, it is better not to set this attribute, use CSS to apply border instead.

CSS Example: Iframe Border


Syntax

Attribute Values

Value Description
1 Default. Enables the border.
0 Disables the border.

❮ Att Hr Width Js Tutorial ❯