A ____ element must have a start tag but must not have an end tag.
1.details
2.command
3.code
4.both details and command
All elements are identified by their ____ and are marked up using either start tags and end tags or self-closing tags.
1.attribute name
2.tag name
3.class name
4.none of the mentioned
Attributes that allow to identify particular element are _______
1.<div> and <span>
2.<meta>
3.id and class
4.<iframes>
The interactive element audio with the attribute controls must not appear as a descendant of which element?
1.a
2.button
3.audio
4.both a and button
Copyright symbol can be included by _____
1.<
2.©
3.&
4.>
For writing chemical formula of water which tag will be used?
1.<sup>
2.<sub>
3.<br/>
4.<ul>
How do we write comments in HTML5?
1.<!……>
2.<…….!>
3.</…….>
4.</……/>
How many levels of headings HTML has?
1.6
2.3
3.7
4.2
In HTML Audio/Video DOM ____ returns a TextTrackList object representing the available text tracks.
1.readyState
2.startDate
3.videoTracks
4.textTracks
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.
1.progress
2.meter
3.details
4.menu
The ___ method must add the scaling transformation described by the arguments to the transformation matrix.
1.scale(x, y)
2.translate(x, y)
3.rotate(angle)
4.skew(x,y)
The ____ attribute effectively renders the iframe as an inline include, which allows the parent document’s CSS to affect the contents of the iframe.
1.allow-forms
2.seamless
3.embed
4.allow-scripts
The ____ element may contain not just links but also other interactive items, including the newly introduced command element.
1.progress
2.meter
3.details
4.menu
The ____ element represents a span of text that is isolated from its surroundings for the purposes of bidirectional text formatting.
1.b
2.bdi
3.bdo
4. base
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.
1.fill()
2.stroke()
3.clip()
4.get()
The ____ method must fill all the subpaths of the current path, using fillStyle, and using the non-zero winding number rule.
1.fill()
2.stroke()
3.clip()
4.get()
To draw on the canvas, authors must first obtain a reference to a context using the _____ method of the canvas interface element.
1.getImageData
2.toDataURL
3.getContext
4.restore
What can be used to verify a displayed graphics?
1.Property checkpoints
2.Region checkpoints
3.On-Screen Action
4.Local STorage
What does ‘On-Screen Action’ means in the testing of HTML5 applications?
1.Using Drag action
2.Using new input type
3.Using play and pause action of audio and video elements
4.Verifying SVG and Canvas elements
What does semantic markup not define?
1.provides extra information
2.where an emphasis is placed in a sentence
3.meaning of an acronym
4.that describes paragraphs
What is the size of content of an <h1> element?
1.Smallest
2.Largest
3.Medium
4.Anything between smallest and largest
What is the tag used for making character appearance bold?
1.<b>content</b>
2.<i>content</i>
3.<u>content</u>
4.<br>content</br>
What is the use of <hr/> tag?
1.To create horizontal rule between sections
2.To create a line break
3.To create vertical rule between sections
4.For making content appearance italics
What is the work of async attribute?
1.It influences script loading
2.It gives a label to the menu
3.It validates form data
4.Enables a set of extra restrictions on any content
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.
1.measureText()
2.imageData()
3.drawImage()
4.setImage()
Which attribute does not lie inside <a> and <area> elements?
1.Media
2.Ping
3.Hreflang
4.Preload
Which attribute is not essential under <iframe>?
1.src
2.height
3.width
4.frameborder
Which attribute of <input> element can be used both with <datalist> and <select> elements?
1.List
2.Pattern
3.Multiple
4.Max
Which element does not support autofocus attribute?
1.<input>
2.<select>
3.<textarea>
4.<base>
Which element does not support form attribute?
1.<input>
2.<output>
3.<meta>
4.<button>
Which element has been removed from HTML5 (W3C) specification?
1.<figure>
2.<nav>
3.<hgroup>
4.<aside>
Which is not <iframe> attribute?
1.Seamless
2.Srcdoc
3.Sizes
4.Sandbox
Which is not a Boolean attribute?
1.Multiple
2.Novalidate
3.Formvalidate
4.Formtarget
Which is not a new global attribute in HTML5?
1.Contenteditable
2.Contextmenu
3.Title
4.Draggable
Which is not the attribute of <meta> element?
1.description
2.keywords
3.robots
4.seamless
Which is the new attribute of <input> element that is used to change the appearance of checkbox?
1.Indeterminate
2.Media
3.EI
4.Target
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?
1.strokeRect(x, y, w, h)
2.clearRect(x, y, w, h)
3.fillRect(x, y, w, h)
4.removeRect(x,y,w,h)
Which of the following allows the sandboxed iframe to run scripts from the same domain?
1.allow-same-origin
2.allow-forms
3.allow-scripts
4.allow-pointer-lock
Which of the following does not lie under the attribute of <input> and is not supported by Opera?
1.url
2.time
3.tel
4.option
Which of the following is not a type of attribute for input tag?
1.day
2.week
3.month
4.time
Which of the following is not an empty element.
1.<hr/>
2.<br/>
3.<sup>
4.<img/>
Which of the following is not example of block element?
1.<h1>
2.<ul>
3.<p>
4.<a>
Which of the following is not the keyword of form method attribute?
1.GET
2.POST
3.PUT
4.OUT
Which of the following is used for plug-in content?
1.<embed>
2.<progress>
3.<meter>
4.<source>
Which of the following methods must empty the list of subpaths so that the context once again has zero subpaths?
1.closePath()
2.beginPath()
3.moveTo(x, y)
4.endPath()
Which of the following statement is not true?
1.SVG stands for Scalable Vector Graphics
2.SVG is used to define graphics for the Web
3.SVG is a W3C recommendation
4.SVG doesn’t support event handlers
Which one is correct syntax?
1.<p id=”1td”>
2.<p id=”td”>
3.<p id=”%td”>
4.<p id=”#td”>
which tag will be used For raising number to a power?
1.<sup>
2.<sub>
3.<br/>
4.<ul>
Which type attribute of input element sets the element’s value to a string representing a number?
1.range
2.email
3.file
4.date
____ allows the iframe to pull in content from elsewhere in the same domain.
1.allow-same-origin
2.allow-forms
3.allow-scripts
4.allow-pointer-lock