HTML frame src Attribute

Definition and Usage

The src attribute specifies URL of the frames content.


<frame src="URL" />

Syntax Example

<frame src="frame_a.htm" />

Attribute Values

Value Description
URL Specifies URL of the page used in the frame (the frame content). Possible values:
  • An absolute URL - Is used to navigate to another web site (like longdesc="")
  • A relative URL - Is used to navigate within a site (like longdesc="frame_a.htm")

Browser Support

The attribute is supported in all major browsers.


<frameset cols="50%,50%">
<frame src="frame_a.htm" />
<frame src="frame_b.htm" />
HTML frame src Attribute Reviewed by 1000sourcecodes on 03:21 Rating: 5
Powered by Blogger.