Vidyalelo
HTML · Q49

Basic HTML

Programming · HTML · question 49

Q49

____________ allows you to add custom styles to the document and test an element afterwards.

A.
hasEvent()
B.
testAllProps()
C.
testProp()
D.
modernizr.testStyles()
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
Modernizr.testStyles() allows you to add custom styles to the document and test an element afterwards. An element with the id of “modernizr” is injected into the page.