InterviewSolution
Saved Bookmarks
| 1. |
What is the JavaScript check for the HTML5 video feature?(a) Modernizr.video(b) Modernizr.video[format].(c) Modernizr.rgba(d) Modernizr.rgbaThe question was asked during an online exam.Question is taken from Adding HTML features safely with Modernizr topic in chapter HTML Images & Web Page Files of HTML |
|
Answer» CORRECT option is (a) Modernizr.VIDEO To ELABORATE: HTML5 feature video is detected byModernizr.video. Modernizr.video[format] detects HTML5 video format feature. Modernizr.RGBA detects rgba() feature of HTML5, hsla() is detected by Modernizr.hsla |
|