HTML/HTML Mcq Question Set 9 Sample Test,Sample questions

Question:
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


Question:
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


Question:
Attributes that allow to identify particular element are _______

1.<div> and <span>

2.<meta>

3.id and class

4.<iframes>


Question:
 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


Question:
Copyright symbol can be included by _____

1.&lt

2.&copy

3.&amp

4.&gt


Question:
For writing chemical formula of water which tag will be used?

1.<sup>

2.<sub>

3.<br/>

4.<ul>


Question:
How do we write comments in HTML5?

1.<!……>

2.<…….!>

3.</…….>

4.</……/>


Question:
How many levels of headings HTML has?

1.6

2.3

3.7

4.2


Question:
In HTML Audio/Video DOM ____ returns a TextTrackList object representing the available text tracks.

1.readyState

2.startDate

3.videoTracks

4.textTracks


Question:
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


Question:
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)


Question:
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


Question:
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


Question:
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


Question:
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()


Question:
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()


Question:
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


Question:
What can be used to verify a displayed graphics?

1.Property checkpoints

2.Region checkpoints

3.On-Screen Action

4.Local STorage


Question:
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


Question:
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


Question:
What is the size of content of an <h1> element?

1.Smallest

2.Largest

3.Medium

4.Anything between smallest and largest


Question:
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>


Question:
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


Question:
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


Question:
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()


Question:
Which attribute does not lie inside <a> and <area> elements?

1.Media

2.Ping

3.Hreflang

4.Preload


Question:
Which attribute is not essential under <iframe>?

1.src

2.height

3.width

4.frameborder


Question:
Which attribute of <input> element can be used both with <datalist> and <select> elements?

1.List

2.Pattern

3.Multiple

4.Max


Question:
Which element does not support autofocus attribute?

1.<input>

2.<select>

3.<textarea>

4.<base>


Question:
Which element does not support form attribute?

1.<input>

2.<output>

3.<meta>

4.<button>


Question:
Which element has been removed from HTML5 (W3C) specification?

1.<figure>

2.<nav>

3.<hgroup>

4.<aside>


Question:
Which is not <iframe> attribute?

1.Seamless

2.Srcdoc

3.Sizes

4.Sandbox


Question:
Which is not a Boolean attribute?

1.Multiple

2.Novalidate

3.Formvalidate

4.Formtarget


Question:
Which is not a new global attribute in HTML5?

1.Contenteditable

2.Contextmenu

3.Title

4.Draggable


Question:
Which is not the attribute of <meta> element?

1.description

2.keywords

3.robots

4.seamless


Question:
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


Question:
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)


Question:
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


Question:
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


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

1.day

2.week

3.month

4.time


Question:
Which of the following is not an empty element.

1.<hr/>

2.<br/>

3.<sup>

4.<img/>


Question:
Which of the following is not example of block element?

1.<h1>

2.<ul>

3.<p>

4.<a>


Question:
Which of the following is not the keyword of form method attribute?

1.GET

2.POST

3.PUT

4.OUT


Question:
Which of the following is used for plug-in content?

1.<embed>

2.<progress>

3.<meter>

4.<source>


Question:
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()


Question:
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


Question:
Which one is correct syntax?

1.<p id=”1td”>

2.<p id=”td”>

3.<p id=”%td”>

4.<p id=”#td”>


Question:
which tag will be used For raising number to a power?

1.<sup>

2.<sub>

3.<br/>

4.<ul>


Question:
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


Question:
____ 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


More MCQS

  1. HTML and Web Page Designing MCQS
  2. Computer Webpage Designing HTML MCQS Part 1
  3. Computer Webpage Designing HTML MCQS Part 2
  4. Computer Webpage Designing HTML MCQS Part 3
  5. HTML Mcq Question Set 1
  6. HTML Mcq Question Set 2
  7. HTML Mcq Question Set 3
  8. HTML Mcq Question Set 4
  9. HTML Mcq Question Set 5
  10. HTML Mcq Question Set 6
  11. HTML Mcq Question Set 7
  12. HTML Mcq Question Set 8
  13. HTML Mcq Question Set 9
  14. HTML Mcq Question Set 10
  15. HTML Mcq Question Set 11
  16. HTML Mcq Question Set 12
  17. HTML Mcq Question Set 13
  18. HTML Mcq Question Set 14
  19. HTML Mcq Question Set 15
  20. HTML Mcq Question Set 16
  21. HTML Mcq Question Set 17
  22. HTML Mcq Question Set 18
  23. HTML Mcq
  24. HTML . MCQ SET 1
  25. HTML . MCQ SET 2
  26. HTML MCQ Questions
  27. HTML MCQ Questions
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!