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
Q

Following method is used to get the current location of the user in Geolocation in HTML5?

A

getCurrentPosition()

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

Height attribute specific the height of which frame?

A

Inline frame

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

terminate() method in HTML5 is used for _____

A

terminate a web worker

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

What is W3C?

A

World Wide Web Consortium

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

Which attribute allows the inline frame to appear as though it is being rendered as part of the containing document

A

Seamless

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

Which of the following attribute(s) isn’t supported by HTML 5? 1. Frameborder 2. Scrolling 3. Marginwidth 4. Marginheight

A

All of the above

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

Application cache is used is used for ____
1. Offline browsing 2. Speed 3. Reduced server load

A

All of the above

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

What is meant by DTD?

A

Document type definition

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

Which storage object is used for storing the data with no expiry date?

A

Local storage

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

How many browser safe colors are there?

A

256

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

The manifest file is ______

A

Text file

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

Which element provides a secure way to authenticate the user?

A

<keygen></keygen>

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

______ Function displays the Latitude and Longitude in geoLocation in HTML5.

A

showPosition()

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

Frame concept is available in HTML5

A

NO

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

Graphics defined by SVG is in _____ format

A

XML

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

Which modern browser does not support the HTML5 tags?

A

IE 8

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

The sessionStorage object stores the data for _________

A

one session

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

What do you mean by SVG?

A

Scalable vertical graphics

43
Q

Is it possible to use HTML 5 for the mobile application?

A

YES

44
Q

Which of the following term describes the art of making dynamic and interactive web pages?

A

DHTML

45
Q

Which element is used to draw graphics images on a web page?

A

Canvas

46
Q

Text/Html is called the _____ of the page

A

Content type/MIME type

47
Q

Which of the following is not a media element used in html5?
1. <source></source> 2. <audio> 3. <track></track> 4. <time></time></audio>

A

4 {Time}

48
Q

Which of the following are not a markup element in html5?
1. <aside> 2. <summary> 3. <progress>
4. <embed></embed></progress>

A

4 {embed}

49
Q

Attributes consist of a name and a value separated by ____ sign

A

=

50
Q

Which of the following attribute triggers event when the document come online?

A

ononline

51
Q

Which of the following attribute triggers event when media has reach the end?

A

Onended

52
Q

Which of the following attribute triggers event before the document is printed?

A

onbeforeprint

53
Q

Which of the following attribute specifies the context menu for an element?

A

Contextmenu

54
Q

Which of the following is true about ‘canvas’ tag in HTML 5?

A

Both of the above

55
Q

Which value of Socket.readyState attribute of WebSocket indicates that the connection is going through the closing handshake?

A

2

56
Q

Which of the following tag insists to have a value in an input control in HTML5?

A

Required

57
Q

Which of the following input control is used for the input fields that should contain an e-mail address in Web Form 2.0?

A

Email

58
Q

Which of the following tag represents a section of the document intended for navigation in HTML5 ?

A

Nav

59
Q

Which of the following is true about HTML 5?

A

All of the above

60
Q

What is the correct HTML 5 element for playing audio files?

A

<audio>
</audio>

61
Q

What is the correct HTML 5 element for playing video files?

A

<video>
</video>

62
Q

Which HTML 5 element is used to specify a footer for a document or section?

A

<footer>
</footer>

63
Q

HTML comments start with <! and end with—>

A

True

64
Q

An <iframe> is used to display a web page within a web page.

A

TRUE

65
Q

What is the correct HTML for inserting a background image?

A

<body background =“background.gif”>

66
Q

What is the correct HTML for inserting an image?

A

<img src=“image.gif” alt=“MyImage”

67
Q

What is the correct HTML for making a text area?

A

<textarea>
</textarea>

68
Q

What is the correct HTML for making a drop-down list?

A

<select></select>

69
Q

What is the correct HTML for making a text input field?

A

<input type=“text”>

70
Q

What is the correct HTML for making a checkbox?

A

<input type=“checkbox”>

71
Q

Which is the correct tag to make a link that will send an email?

A

<a href=“mailto:nicholso_p01@firn.edu>

72
Q

Which tag makes the largest headline?

A

H1

73
Q

Between which set of tags does most of the content of your web page need to be placed?

A

<body> </body>

74
Q

Which set of tags looks like this?
.Dogs .Cats .Birds

A

<ul></ul>

75
Q

Gif is a _______

A

Common graphic format on the Web

76
Q

HTML is_________

A

The language of the Web

77
Q

A URL is ________

A

A web address

78
Q

What is the HTML feature that divides a web page into two or more scrollable parts?

A

Frame

79
Q

A table is a ______

A

Method used to keep web pages formatted correctly

80
Q

Table cells are represented by:

A

<td></td>

81
Q

Which part of the HTML document would you find your META tag information?

A

Head

82
Q

To begin a new line without starting a new paragraph, which code would you use?

A

<br></br>

83
Q

To creating a link in a document to a section in the same document, you would use an ______

A

Anchor

84
Q

To center, right or left justify text or and image, what code would I use?

A

Align

85
Q

To create a drop down list for a form, which syntax would you use?

A

The general <select> and <option> tags</option></select>

86
Q

What file extension should HTML files have?

A

.html

87
Q

What is the correct HTML for making a checkbox?

A

<input type=“checkbox”>

88
Q

Which character entity would you use to display extra spaces on a webpage?

A

&nbsp

89
Q

What is the correct HTML for creating a hyperlink?

A

<a href=“http://www.google.com/“>Google</a>

90
Q

What is the correct HTML for making a text area?

A

<textarea>
</textarea>

91
Q

What does HTML stand for?

A

HYPER TEXT MARKUP LANGUAGE

92
Q

Who is making the Web standards

A

The World Wide Web

93
Q

Choose the correct HTML element for the largest heading

A

H1

94
Q

What is the correct HTML element for inserting a line break?

A

<br></br>

95
Q

What is the correct HTML for adding a background color?

A

<body bg=“yellow”>

96
Q

Choose the correct HTML element to define “important” text

A

<strong></strong>

97
Q

Choose the correct HTML element to define “emphasized” text.

A

<em></em>

98
Q

What is the correct HTML for creating a hyperlink?

A

<a href =“http://www.w3schools.com”>W3Schools</a>

99
Q

Which character is used to indicate an end tag?

A

/

100
Q

How can you open a link in a new tab of a browser window?

A

<a href=“url” target=“_blank”>

101
Q

Which of these elements are all <table> elements?

A

<table><tr><td>
</td></tr></table>

102
Q

How can you make a numbered list?

A

<ol>
</ol>

103
Q

How can you make a bulleted list?

A

<ul>
</ul>