1 Flashcards
In case we want to implement a JavaScript fallback, we would need to create a conditional statement using Modernizer
TRUE
________ is a resource loader (CSS and JAVASCRIPT) that was made to specifically to work side-by-side with Modernizr
Modernizr.load
_______ is used to test whether geolocation is supported in old browsers
Navigator.userAgent
Modernizr does actually add missing functionalities to browsers save for the HTML 5 tags styling support
FALSE
______ allows you to add custom styles to the document and test an element afterwards
Modernizr.testStyles()
____ is an open source JavaScript library that allows support for different levels of experience based on the capabilities of each browser.
Modernizr
Some user have requested test of IE’s float double margin bug, and support for position:fixed. Which API is suitable for them
addTest() Plugin API
Which property is used to detect the browser’s user agent and code based on the pertinent cases.
navigator.userAgent
Which one of the following is not a step to install a library you need to perform the compatibility in browsers?
None of the mentioned
Which one of the following is an open source JavaScript library that enables styling for HTML5 elements in versions of Internet explorer before IE 9 ?
HTML5 Shiv
If your browser supports HTML5 microdata API, there will be a _______ function on the global document object
getItems()
The ______ is an instruction to the web browser about the version of HTML page.
<!DOCTYPE>
For defining the possible line break which tag do we have to use in HTML 5?
<wbr></wbr>
_____ tag is used to specify an inline frame
<jframe>
</jframe>
SVG graphics do not lose quality when they are resized?
TRUE
The doctype should already be on the first line of every HTML page
YES
Following code is used for <video width=“320? height=“240? controls=“controls”> <source src=“test.mp4? type=“video/mp4? /> </video>
Display Video
Given statements is true or false: “Web worker script is dependent on other script”
Yes
In HTML 5 width attribute specific the width of the ________
Inline Frame
Which of the following are input type attribute in HTML 5?
1. Search 2. Datetime 3.week 4. Color 5. Track 6. Placeholder
1,2,3,4,6
______property returns the url of current audio/ video
currentSrc
______ allows you to set some elements to be editable inside the browser
contenteditable
Where does web worker(s) script run?
In background
Which attribute enables a set of extra restrictions on any content hosted by the <iframe>
Sandbox
Following method is used to get the current location of the user in Geolocation in HTML5?
getCurrentPosition()
Height attribute specific the height of which frame?
Inline frame
terminate() method in HTML5 is used for _____
terminate a web worker
What is W3C?
World Wide Web Consortium
Which attribute allows the inline frame to appear as though it is being rendered as part of the containing document
Seamless
Which of the following attribute(s) isn’t supported by HTML 5? 1. Frameborder 2. Scrolling 3. Marginwidth 4. Marginheight
All of the above
Application cache is used is used for ____
1. Offline browsing 2. Speed 3. Reduced server load
All of the above
What is meant by DTD?
Document type definition
Which storage object is used for storing the data with no expiry date?
Local storage
How many browser safe colors are there?
256
The manifest file is ______
Text file
Which element provides a secure way to authenticate the user?
<keygen></keygen>
______ Function displays the Latitude and Longitude in geoLocation in HTML5.
showPosition()
Frame concept is available in HTML5
NO
Graphics defined by SVG is in _____ format
XML
Which modern browser does not support the HTML5 tags?
IE 8
The sessionStorage object stores the data for _________
one session