Open In App

HTML | <frame> scrolling Attribute

The HTML <frame> scrolling attribute is used to specify that whether the scrollbar will be displayed or not in the <frame> element. Basically, the scrollbar is used when the content is larger than the Iframe Element.
Syntax: 
 

<frame scrolling="auto|yes|no">

Attribute Values: 
 



Note: The <frame> tag is not supported by HTML 5.
Example: 
 




<!DOCTYPE html>
<html>
 
<head>
    <title>
        HTML frame scrolling Attribute
    </title>
</head>
 
<frameset cols="30%, 40%, 30%">
     
    <frame name = "left" src =
            scrolling="auto" />
     
    <frame name="middle" src=
            scrolling="yes" />
     
    <frame name="right" src=
        scrolling="no" />
 
</frameset>
 
</html>  

Output: 
 



Supported Browsers: The browsers supported by HTML <frame> scrolling attribute are listed below: 

Article Tags :