X
HOME HTML5 CSS3 JAVASCRIPT SQL PHP5 JQUERY ANGULAR BOOTSTRAP3 XML MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

HTML <frame> name Attribute

HTML frame Tag Reference HTML <frame> tag

Example

A named frame:

<frameset cols="50%,50%">
  <frame src="frame_a.htm" name="frame_a">
  <frame src="frame_b.htm">
</frameset>

Try it Yourself »

Definition and Usage

The <frame> tag is not supported in HTML5.

The name attribute specifies the name of a <frame> element.

The name attribute is used to reference the element in a JavaScript, or to act as a target for a link.


Browser Support

Attribute
name Yes Yes Yes Yes Yes


Differences Between HTML and XHTML

In XHTML, the name attribute of the <frame> tag is deprecated, and will be removed. Use the id attribute instead.


Syntax

<frame name="text">

Attribute Values

Value Description
text Specifies the name of the frame


HTML frame Tag Reference HTML <frame> tag

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook