Skip to content
Related Articles

Related Articles

HTML | <frame> scrolling Attribute
  • Last Updated : 30 Sep, 2019

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:

  • auto: It has the default value. The scrollbar appears when needed.
  • yes: This value shows the scrollbar in the iframe element.
  • no: This value does not show the scrollbar in the iframe element.

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:

  • Firefox

full-stack-img

My Personal Notes arrow_drop_up
Recommended Articles
Page :