Examveda
Examveda

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. None of mentioned

Answer: Option B

Solution(By Examveda Team)

The defer attribute is a boolean attribute. When present, it specifies that the script is executed when the page has finished parsing.

This Question Belongs to HTML >> Basic HTML

Join The Discussion

Related Questions on Basic HTML

Choose the correct statement of HTML

A. In traditional XHTML close tag for some elements is optional but not encouraged

B. In traditional HTML close tag for some elements is optional but not encouraged

C. None of the mentioned

D. In both traditional XHTML and HTML close tag for some elements is optional