Easy Tutorial
❮ Jsref Regexp Compile Prop Frameset Rows ❯

Frame/IFrame src Attribute


Definition and Usage

The src attribute sets or returns the value of the src attribute in a frame/iframe element.

The src attribute specifies the URL of the document to be loaded into the frame/iframe.

Syntax


Browser Support

All major browsers support the src attribute.


Example

Change the src attribute in an iframe:


❮ Jsref Regexp Compile Prop Frameset Rows ❯