HBCMS更多的中文手册参考:

SRC Attribute | src参数属性

DHTML文档教程

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

dhtml语法

HTML<SCRIPT SRC = sURL... >
ScriptingSCRIPT.src [ = sURL ]

DHTML可能的值

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

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see about dynamic properties.

remarks

the src attribute first was available in microsoft® internet explorer 3.022. 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.

a script can contain an external reference as well as code within the block. the code specified by the src property precedes the code contained within the document.

是否符合公共标准

This property is defined in HTML 4.0 Non-Microsoft link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

SCRIPT