Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

HTML | <iframe> name Attribute

  • Last Updated : 16 Oct, 2019

The HTML iframe name Attribute is used to specify a reference for an <Iframe> Element. The name attribute is also used as a reference to the elements in a Javascript.


Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML  course.

<iframe name="name">

Attribute Values:

  • name: It specify the name for the Iframe element.


<!DOCTYPE html>
        body {
            text-align: center;
    <h1 style="color:green">
      HTML <Iframe>name Attribute
    <p>Content goes here</p>
    <iframe src="" 
    <a href="" 
    <p>Content goes here</p>



Supported Browsers: The browsers supported by HTML <iframe> name Attribute are listed below:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Apple Safari
  • Opera

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!