Skip to content
Related Articles
Open in App
Not now

Related Articles

HTML | <Iframe> frameborder Attribute

Improve Article
Save Article
  • Last Updated : 19 Sep, 2019
Improve Article
Save Article

The HTML Iframe frameborder Attribute is used to specify whether or not to display the border around the content of an <Iframe> Element.


<iframe frameborder="1 | 0">

Attribute Values:

  • 0: It has a Default value. It sets the border on one state.
  • 1: It sets the border on-off state.

Note: This attribute does not support in HTML5 as a replacement you can use CSS.

Below program will illustrate HTML Iframe frameborder Attribute:

<!DOCTYPE html>
        HTML <Iframe> frameborder Attribute
    <h1 style="color:green;">
        HTML Iframe frameborder Attribute
    <p>Content goes here</p>
    <iframe src=


Supported Browsers: The browsers supported by HTML <Iframe> frameborder Attribute are listed below:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Opera
  • Safari
  • My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!