Vidyalelo
HTML · all questions

HTML5
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

105

Questions

3/6

Page

Pick an option on a question to see the right answer and solution.

To draw on the canvas, authors must first obtain a reference to a context using the ______________ method of the canvas interface element.

Select an option to see the answer and solution.

The ___________ method must add the scaling transformation described by the arguments to the transformation matrix.

Select an option to see the answer and solution.

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?

Select an option to see the answer and solution.

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.

Select an option to see the answer and solution.

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.

Select an option to see the answer and solution.

The ____________ method must fill all the subpaths of the current path, using fillStyle, and using the non-zero winding number rule.

Select an option to see the answer and solution.

Which of the following methods must empty the list of subpaths so that the context once again has zero subpaths?

Select an option to see the answer and solution.

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.

Select an option to see the answer and solution.

Which of the following is not a type of attribute for input tag?

Select an option to see the answer and solution.

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.

Select an option to see the answer and solution.

The __________ element may contain not just links but also other interactive items, including the newly introduced command element.

Select an option to see the answer and solution.

The __________ attribute effectively renders the iframe as an inline include, which allows the parent document’s CSS to affect the contents of the iframe

Select an option to see the answer and solution.

Which of the following allows the sandboxed iframe to run scripts from the same domain?

Select an option to see the answer and solution.

__________ allows the iframe to pull in content from elsewhere in the same domain.

Select an option to see the answer and solution.

All elements are identified by their __________ and are marked up using either start tags and end tags or self-closing tags

Select an option to see the answer and solution.

The __________ element represents a span of text that is isolated from its surroundings for the purposes of bidirectional text formatting

Select an option to see the answer and solution.

The interactive element audio with the attribute controls must not appear as a descendant of which element?

Select an option to see the answer and solution.

A ____________ element must have a start tag but must not have an end tag.

Select an option to see the answer and solution.

Which type attribute of input element sets the element’s value to a string representing a number?

Select an option to see the answer and solution.

Which of the following type attributes of input element defines control for entering a telephone number?

Select an option to see the answer and solution.