Home » HTML » Html miscellaneous » Question
  1. ____________ allows you to add custom styles to the document and test an element afterwards.
    1. modernizr.testStyles()
    2. testProp()
    3. testAllProps()
    4. hasEvent()
    5. None of these
Correct Option: A

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.



Your comments will be displayed only after manual approval.