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

HTML <frame> src Attribute

HTML frame Tag Reference HTML <frame> tag

Example

The src attribute specifies the location of the document to show in a <frame>:

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

Try it Yourself »

Definition and Usage

The <frame> tag is not supported in HTML5.

The src attribute specifies the URL of the document to show in a frame.


Browser Support

Attribute
src Yes Yes Yes Yes Yes


Syntax

<frame src="URL">

Attribute Values

Value Description
URL The address to the document to show in the frame.

Possible values:

  • An absolute URL - points to another web site (like src="http://www.example.com/default.htm")
  • A relative URL - points to a file within a web site (like src="default.htm")


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