Sets or retrieves the status of the script.
Syntax
HTML | <SCRIPT DEFER
... >
|
---|
Scripting | SCRIPT.defer [ = bDefer ] |
---|
Possible Values
bDefer | Boolean that
specifies or receives one of the following values.false | Default. Inline executable function is not deferred. | true | Inline executable function is deferred. |
|
The property is read/write.
The property has a default value of
false.
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
Using the attribute at design time can improve the download performance of a page because the browser does not need to parse and execute the script and can continue downloading and parsing the page instead.
Standards Information
This property is defined in
HTML 4.0 and
is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To