HTML <frame> srcAttributes
Examples
The src attribute specifies the location of the document to be displayed in the <frame>:
<frameset cols="50%,50%">
<frame src="frame_a.htm.html">
<frame src="frame_b.htm.html">
</frameset>
<frame src="frame_a.htm.html">
<frame src="frame_b.htm.html">
</frameset>
Try it Yourself »
Browser Support
![]()
![]()
![]()
![]()
![]()
All major browsers support the src attribute.
Definition and Usage
HTML5 does not support the <frame> tag.
The src attribute specifies the URL of the document to be displayed in the frame.
Syntax
<frame src="URL.html">
Attribute Values
| Value | Description |
|---|---|
| URL | Specifies the address of the document to be displayed in the frame. Possible values:
|
HTML <frame> Tag Other Extensions