all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize
6 out of 16 rated this helpful - Rate this topic

defer attribute | defer property

Sets or retrieves the status of the script.

Syntax

HTML<element defer="p" ... >
JavaScript

p = object.defer

Property values

Type: Boolean

false (false)

Default. Inline executable function is not deferred.

true (true)

Inline executable function is deferred.

Remarks

Using the attribute at design time can improve the download performance of a document because the client does not need to parse and execute the script and can continue downloading and parsing the document instead.

See also

script

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.