HTML | <frame> frameborder Attribute
Last Updated :
15 Jul, 2022
The HTML <frame> frameborder attribute is used to specify whether or not a border should be displayed between the frames. For this, we use two values 0 and 1, where 0 defines no border and 1 defines the border.
Syntax
<frame frameborder="1|0">
Note: This attribute is depreciated from HTML 5.
Attribute Values:
- 0: It has a default value. It sets the border on one state.
- 1: It sets the border off state.
Example:
html
<!DOCTYPE html>
< html >
< head >
< title >
HTML frame frameborder Attribute
</ title >
</ head >
< frameset cols="30%, 40%, 30%">
< frame name="left" src=
frameborder="1" />
< frame name="main" src=
frameborder="1" />
< frame name="bottom" src=
frameborder="0" />
</ frameset >
</ html >
|
Output:
Supported Browsers: The browsers supported by HTML <frame> frameborder attribute are listed below:
- Google Chrome
- Internet Explorer
- Firefox
- Safari
- Opera
Like Article
Suggest improvement
Share your thoughts in the comments
Please Login to comment...