Sail E0 Webinar

MCQs

Total Questions : 10
Question 1. 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.    none of the mentioned
 Discuss Question
Answer: Option C. -> drawImage()


The drawImage() method draws an image, canvas, or video onto the canvas.


Question 2. __________ allows the iframe to pull in content from elsewhere in the same domain.
  1.    allow-same-origin
  2.    allow-forms
  3.    allow-scripts
  4.    none of the mentioned
 Discuss Question
Answer: Option A. -> allow-same-origin


It allows the iframe content to be treated as being from the same origin.


Question 3. Which of the following attribute adds audio controls, like play, pause, and volume?
  1.    audio
  2.    controls
  3.    source
  4.    src
 Discuss Question
Answer: Option B. -> controls


The controls attribute is a boolean attribute. When present, it specifies that audio controls should be displayed.


Question 4. ____________ defines the accelerator key to be used for keyboard access to an element.
  1.    data-X
  2.    accesskey
  3.    rp
  4.    command
 Discuss Question
Answer: Option B. -> accesskey


The accesskey attribute specifies a shortcut key to activate/focus an element.


Question 5. The element ___________ simply groups items within an enclosed dd tag, though it may associate them with a caption defined by a dt tag
  1.    object
  2.    figure
  3.    embed
  4.    none of the mentioned
 Discuss Question
Answer: Option A. -> object


HTML documents are delivered as "documents.These are then parsed, which turns them into the Document Object Model (DOM) internal representation, within the web browser.


Question 6. Which of the following HTML Video “ Media Type is not supported in IE?
  1.    WebM
  2.    MP4
  3.    Ogg
  4.    None of the mentioned
 Discuss Question
Answer: Option C. -> Ogg


The Ogg container format with the Theora video codec and the Vorbis audio codec is supported in desktop/mobile Gecko (Firefox), Chrome, and Opera, and support for the format can be added to Safari (but not on iOS) by installing an add-on. The format is not supported in Internet Explorer in any way.


Question 7. Which plugins can provide the fallback support for old browsers?
  1.    Flash
  2.    Quicktime
  3.    both and b
  4.    none of the mentioned
 Discuss Question
Answer: Option C. -> both and b


An attribute of the format: type=application/x-shockwave-flash will justify the purpose.


Question 8. In HTML Audio/Video DOM, __________ sets or returns the default speed of the audio/video playback.
  1.    currentTime
  2.    duration
  3.    defaultPlaybackRate
  4.    playbackRate
 Discuss Question
Answer: Option C. -> defaultPlaybackRate


Setting this property will only change the default playback speed, not the current.


Question 9. Which of the following type attributes of input element defines control for entering a telephone number?
  1.    mob
  2.    tel
  3.    mobile
  4.    telephone
 Discuss Question
Answer: Option B. -> tel


The input element with a type attribute whose value is "tel represents a one-line plain-text edit control for entering a telephone number.


Question 10. The __________ element must reference either an 'altGlyphDef' element or a 'glyph' element.
  1.    href
  2.    src
  3.    animate
  4.    altGlyph
 Discuss Question
Answer: Option D. -> altGlyph


The altGlyph element allows sophisticated selection of the glyphs used to render its child character data.


Latest Videos

Latest Test Papers