Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML frame src Attribute

The HTML src attribute

HTML frame Tag Reference HTML Tag

Example

The src attribute specifies the location of the document to be displayed in the frame:

 

 

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the src property.


Definition and Usage

HTML5 does not support the tag.

The src attribute specifies the URL of the document to be displayed in the frame.


Syntax

  • Relative URL - points to a file within the website (for example src="default.htm")
  • |

    HTML frame Tag Reference HTML tag