JavaScript Defer & My Ignorance

In my programming travels, I have never seen this before until now…

The W3C states;

When set, this boolean attribute provides a hint to the user agent that the script is not going to generate any document content (e.g., no “document.write” in javascript) and thus, the user agent can continue parsing and rendering. https://www.w3.org/TR/REC-html40/interact/scripts.html#adef-defer

It’s pretty fun learning something new every day.

Loading Likes...

Leave a Reply