VOOZH about

URL: https://www.geeksforgeeks.org/html/html-iframe-name-attribute/

⇱ HTML <iframe> name Attribute - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML <iframe> name Attribute

Last Updated : 27 May, 2026

The name attribute is used to assign a name to an <iframe> element. It allows links and forms to target a specific iframe.

  • Specifies a unique name for the iframe.
  • Used with the target attribute to load content into the iframe.
  • Helps identify and reference the iframe in webpages and forms.

Syntax: 

<iframe name="name">

Attribute Values

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

Note: The content in the iframe isn’t showing because the website has blocked it for security reasons. You can try using a different link that allows embedding.

Comment
Article Tags: