Sets or retrieves a URL to be loaded by the object.
Syntax
HTML <ELEMENT SRC = sURL ... > Scripting object.src [ = sURL ]
Possible Values
sURL String that specifies the URL. The property is read/write with no default value.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see Dynamic Properties.
Example
This example uses the src property to change the image's SRC attribute.
Sample Code
Applies To
APPLET, EMBED, FRAME, IFRAME, IMG, INPUT type=image, XML