asp.net.ph

Skip Navigation Links

DEFER Attribute | defer Property

Language References


Sets or retrieves whether the script contains an inline executable function.

Syntax


Inline <script DEFER ... >
Script script.defer = bDefer ]

Possible Values


false Execution is not deferred.
true Execution is deferred.

This property returns or accepts only a boolean value, meaning true if set, and false if not. The property is read/write with a default value of false.

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.

Applies To

SCRIPT



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note