a) progress b) meter c) details d) menu Answer: d Explanation: ...
View QuestionThe 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.
a) progress b) meter c) details d) menu Answer: c Explanation: A scalar measurement within ...
View QuestionWhich of the following is not a type of attribute for input tag?
a) day b) week c) month d) time Answer: a Explanation: Day is not defined ...
View QuestionAn 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.
a) True b) False Answer: a Explanation: API, an abbreviation of application program interface, is a set ...
View QuestionWhich of the following methods must empty the list of subpaths so that the context once again has zero subpaths?
a) closePath() b) beginPath() c) moveTo(x, y) d) endPath() Answer: b Explanation: ClosePath() creates a path that starts from ...
View QuestionThe ____________ method must fill all the subpaths of the current path, using fillStyle, and using the non-zero winding number rule.
a) fill() b) stroke() c) clip() d) get() Answer: a Explanation: The path one defines is drawn by ...
View QuestionThe ____________ 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.
a) fill() b) stroke() c) clip() d) get() Answer: c Explanation: The path one defines is drawn by stroke() ...
View QuestionWhen 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.
a) measureText() b) imageData() c) drawImage() d) setImage() Answer: c Explanation: The width of specified text present in an ...
View QuestionWhich 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?
a) strokeRect(x, y, w, h) b) clearRect(x, y, w, h) c) fillRect(x, y, w, h) d) ...
View QuestionThe ___________ method must add the scaling transformation described by the arguments to the transformation matrix.
a) scale(x, y) b) translate(x, y) c) rotate(angle) d) skew(x,y) Answer: a Explanation: HTML5 canvas ...
View Question