M

Mr. Dubey • 97.30K Points
Coach

Q. What is the use of “defer” attribute?

  • (A) it defers rendering of html page
  • (B) it defers script execution until the page has been rendered
  • (C) it defers rendering of css attributes
  • (D) it is only for internal scripts
Share

Explanation by: Mr. Dubey
the defer attribute is a boolean attribute. the script is executed after the page has finished parsing. the defer attribute is used if and only if there is src attribute. defer is for external not internal scripts.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Loading Comments....

Question analytics