Open In App

HTML | <frame> frameborder Attribute

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: 



Example: 




<!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:

Article Tags :