1 Flashcards

1
Q

In case we want to implement a JavaScript fallback, we would need to create a conditional statement using Modernizer

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

________ is a resource loader (CSS and JAVASCRIPT) that was made to specifically to work side-by-side with Modernizr

A

Modernizr.load

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

_______ is used to test whether geolocation is supported in old browsers

A

Navigator.userAgent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Modernizr does actually add missing functionalities to browsers save for the HTML 5 tags styling support

A

FALSE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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

A

Modernizr.testStyles()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

____ is an open source JavaScript library that allows support for different levels of experience based on the capabilities of each browser.

A

Modernizr

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Some user have requested test of IE’s float double margin bug, and support for position:fixed. Which API is suitable for them

A

addTest() Plugin API

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which property is used to detect the browser’s user agent and code based on the pertinent cases.

A

navigator.userAgent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which one of the following is not a step to install a library you need to perform the compatibility in browsers?

A

None of the mentioned

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

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 ?

A

HTML5 Shiv

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

If your browser supports HTML5 microdata API, there will be a _______ function on the global document object

A

getItems()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

The ______ is an instruction to the web browser about the version of HTML page.

A

<!DOCTYPE>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

For defining the possible line break which tag do we have to use in HTML 5?

A

<wbr></wbr>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

_____ tag is used to specify an inline frame

A

<jframe>
</jframe>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

SVG graphics do not lose quality when they are resized?

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

The doctype should already be on the first line of every HTML page

A

YES

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Following code is used for <video width=“320? height=“240? controls=“controls”> <source src=“test.mp4? type=“video/mp4? /> </video>

A

Display Video

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Given statements is true or false: “Web worker script is dependent on other script”

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

In HTML 5 width attribute specific the width of the ________

A

Inline Frame

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Which of the following are input type attribute in HTML 5?
1. Search 2. Datetime 3.week 4. Color 5. Track 6. Placeholder

A

1,2,3,4,6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

______property returns the url of current audio/ video

A

currentSrc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

______ allows you to set some elements to be editable inside the browser

A

contenteditable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Where does web worker(s) script run?

A

In background

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Which attribute enables a set of extra restrictions on any content hosted by the <iframe>

A

Sandbox

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Following method is used to get the current location of the user in Geolocation in HTML5?
getCurrentPosition()
26
Height attribute specific the height of which frame?
Inline frame
27
terminate() method in HTML5 is used for _____
terminate a web worker
28
What is W3C?
World Wide Web Consortium
29
Which attribute allows the inline frame to appear as though it is being rendered as part of the containing document
Seamless
30
Which of the following attribute(s) isn’t supported by HTML 5? 1. Frameborder 2. Scrolling 3. Marginwidth 4. Marginheight
All of the above
31
Application cache is used is used for ____ 1. Offline browsing 2. Speed 3. Reduced server load
All of the above
32
What is meant by DTD?
Document type definition
33
Which storage object is used for storing the data with no expiry date?
Local storage
34
How many browser safe colors are there?
256
35
The manifest file is ______
Text file
36
Which element provides a secure way to authenticate the user?
37
______ Function displays the Latitude and Longitude in geoLocation in HTML5.
showPosition()
38
Frame concept is available in HTML5
NO
39
Graphics defined by SVG is in _____ format
XML
40
Which modern browser does not support the HTML5 tags?
IE 8
41
The sessionStorage object stores the data for _________
one session
42
What do you mean by SVG?
Scalable vertical graphics
43
Is it possible to use HTML 5 for the mobile application?
YES
44
Which of the following term describes the art of making dynamic and interactive web pages?
DHTML
45
Which element is used to draw graphics images on a web page?
Canvas
46
Text/Html is called the _____ of the page
Content type/MIME type
47
Which of the following is not a media element used in html5? 1. 2.
4 {Time}
48
Which of the following are not a markup element in html5? 1.
4 {embed}
49
Attributes consist of a name and a value separated by ____ sign
=
50
Which of the following attribute triggers event when the document come online?
ononline
51
Which of the following attribute triggers event when media has reach the end?
Onended
52
Which of the following attribute triggers event before the document is printed?
onbeforeprint
53
Which of the following attribute specifies the context menu for an element?
Contextmenu
54
Which of the following is true about ‘canvas’ tag in HTML 5?
Both of the above
55
Which value of Socket.readyState attribute of WebSocket indicates that the connection is going through the closing handshake?
2
56
Which of the following tag insists to have a value in an input control in HTML5?
Required
57
Which of the following input control is used for the input fields that should contain an e-mail address in Web Form 2.0?
Email
58
Which of the following tag represents a section of the document intended for navigation in HTML5 ?
Nav
59
Which of the following is true about HTML 5?
All of the above
60
What is the correct HTML 5 element for playing audio files?
61
What is the correct HTML 5 element for playing video files?
62
Which HTML 5 element is used to specify a footer for a document or section?
63
HTML comments start with
True
64
An