MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
HTML
HTML5
Quiz 3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Q.1
All elements are identified by their __________ and are marked up using either start tags and end tags or self-closing tags
attribute name
tag name
class name
none of the mentioned
Q.2
The ____________ method must fill all the subpaths of the current path, using fillStyle, and using the non-zero winding number rule.
fill()
stroke()
clip()
none of the mentioned
Q.3
Which of the following methods must empty the list of subpaths so that the context once again has zero subpaths?
closePath()
beginPath()
moveTo(x, y)
none of the mentioned
Q.4
An API is an application programming interface consisting of methods and properties which allow the author to get or set data or execute commands to the user agent.
True
False
Q.5
Which of the following is not a type of attribute for input tag?
day
week
month
time
Q.6
The new __________ element is supposed to represent some form of extra details, such as a tooltip or revealed region that may be shown to a user.
progress
meter
details
menu
Q.7
To draw on the canvas, authors must first obtain a reference to a context using the ______________ method of the canvas interface element.
getData
toDataURL
getContext
none of the mentioned
Q.8
The ___________ method must add the scaling transformation described by the arguments to the transformation matrix.
scale(x, y)
translate(x, y)
rotate(angle)
none of the mentioned
Q.9
Which method must clear the pixels in the specified rectangle that also intersects the current clipping region to a fully transparent black, erasing any previous image?
strokeRect(x, y, w, h)
clearRect(x, y, w, h)
fillRect(x, y, w, h)
none of the mentioned
Q.10
In HTML Audio/Video DOM, __________ sets or returns whether the audio/video should start playing as soon as it is loaded.
controls
audio Tracks
autoplay
currentSrc
Q.11
When the _____________ method is passed an animated image as its image argument, the user agent must use the poster frame of the animation, or, if there is no poster frame, the first frame of the animation.
measureText()
imageData()
drawImage()
none of the mentioned
Q.12
The ____________ method must create a new clipping region by calculating the intersection of the current clipping region and the area described by the current path, using the non-zero winding number rule.
fill()
stroke()
clip()
none of the mentioned
Q.13
In HTML Audio/Video DOM, __________ sets or returns whether the audio/video should start over again when finished.
loop
autoplay
seeking
played
Q.14
In HTML Audio/Video DOM, __________ returns a MediaError object representing the error state of the audio/video.
ended
seeking
error
mediaGroup
Q.15
In HTML Audio/Video DOM, __________ returns a TextTrackList object representing the available text tracks.
readyState
startDate
videoTracks
textTracks
Q.16
Which of the following statement is not true?
SVG stands for Scalable Vector Graphics
SVG is used to define graphics for the Web
SVG is a W3C recommendation
All of the mentioned
Q.17
In HTML Audio/Video DOM, __________ returns a TimeRanges object representing the buffered parts of the audio/video.
preload
networkState
buffered
controller
Q.18
There is an audio format supported across all browsers.
True
False
Q.19
Which of the following browser does not support wav file format?
Opera
Firefox
Chrome
Internet Explorer
Q.20
In HTML Audio/Video DOM, __________ sets or returns the volume of the audio/video.
src
volume controls
volume
video Tracks
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)