Latest

recent

HTML frame src Attribute

Definition and Usage

The src attribute specifies URL of the frames content.

Syntax

<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="http://www.windows7gallery.com/frame_a.htm")
  • 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.

Example

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