Home / CSE / HTML- CS :: Discussion

Discussion :: HTML- CS

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

  2. A.

     hasEvent()

    B.

     testAllProps()

    C.

     testProp()

    D.

     modernizr.testStyles()

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    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.


Be The First To Comment