Click to return to the DHTML, HTML     
SRC Attribute | src Prope...     SRC Attribute | src Prope...     DHTML Properties    
Web Workshop  |  DHTML, HTML & CSS

SRC Attribute | src Property


Retrieves the URL to an external file that contains the source code or data.

Syntax

HTML<SCRIPT SRC = sURL ... >
Scripting[sURL = ] oScript.src

Possible Values

sURLString that specifies the URL of the source code or data.

The property is read-only with no default value.

Remarks

The SRC attribute first was available in Internet Explorer 3.02. The src property is exposed through the object model as of Internet Explorer 4.0.

In Internet Explorer 5, the SRC attribute of the SCRIPT element can refer to an XML data set if the LANGUAGE attribute is set to XML.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:

SCRIPT



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.