Vidyalelo
HTML · Q17

Basic HTML

Programming · HTML · question 17

Q17

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
Answer
C.
It defers rendering of css attributes
D.
None of mentioned

Answer: Option B

Solution

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