HTML 5 MCQS

All Questions for: HTML 5 MCQS

Question 301: Which of the following is not the attribute for <audio> element?

  • A preload
  • B width
  • C controls
  • D src

Explanation: The correct answer to the question is: width

Question 302: Which of the following fades the model in and out?

  • A .fade
  • B .modal-sm
  • C .moal-lg
  • D .modal-content

Explanation: The correct answer to the question is: .fade

Question 303: Negative positions for string do not work in . . . . . . . .

  • A Safari
  • B Internet Explorer 8
  • C Chrome
  • D Opera

Explanation: The correct answer to the question is: Internet Explorer 8

Question 304: HTML object tag to embed multimedia will not embed in . . . . . . . .

  • A video
  • B images
  • C audio
  • D Java applets

Explanation: The correct answer to the question is: images

Question 305: External scripts can't take the tag . . . . . . . .

  • A <form>
  • B <h1>
  • C <title>
  • D <script>

Explanation: The correct answer to the question is: <script>

Question 306: Which element is known as HTML Example Element?

  • A <shadow>
  • B <strike>
  • C <xmp>
  • D <spacer>

Explanation: The correct answer to the question is: <xmp>

Question 307: What changes button text to the original text?

  • A .button("toggle")
  • B .button("reset")
  • C .button("string")
  • D .button("loading")

Explanation: The correct answer to the question is: .button("reset")

Question 308: Dirty Markup will not validate . . . . . . . .

  • A HTML
  • B PHP
  • C CSS
  • D JavaScript

Explanation: The correct answer to the question is: PHP

Question 309: Which of the following is not the promises of the open web platform?

  • A Media and Real-Time Communications
  • B Security and Privacy
  • C Performance and Tuning
  • D Device Interconnection

Explanation: The correct answer to the question is: Device Interconnection

Question 310: Which of the following is invoked when it is not fired on window object?

  • A setItem()
  • B removeItem()
  • C clear()
  • D getItem()

Explanation: The correct answer to the question is: getItem()

Question 311: Which of the following makes a table more compact?

  • A .table-responsive
  • B .table-hover
  • C .table-condensed
  • D .table-bordered

Explanation: The correct answer to the question is: .table-condensed

Question 312: CSSMin is written in . . . . . . . .

  • A C
  • B PHP
  • C Java
  • D C++

Explanation: The correct answer to the question is: Java

Question 313: Which of the following groups button together on a single line?

  • A .btn-default
  • B .btn-group-justified
  • C .btn-group-lg
  • D .btn-group

Explanation: The correct answer to the question is: .btn-group

Question 314: What can not be done by controls attribute?

  • A playback
  • B resume playback
  • C looping
  • D pause playback

Explanation: The correct answer to the question is: looping

Question 315: For background sound obsolete element was . . . . . . . .

  • A <bgsound>
  • B <audio>
  • C <acronym>
  • D <blink>

Explanation: The correct answer to the question is: <bgsound>

Question 316: How many glyphs does bootstrap include?

  • A 369
  • B 360
  • C 260
  • D 100

Explanation: The correct answer to the question is: 260

Question 317: How many columns are used for grid system by bootstrap?

  • A 12
  • B 14
  • C 11
  • D 16

Explanation: The correct answer to the question is: 12

Question 318: Which method is not used for traversing DOM tree?

  • A after()
  • B parents()
  • C parentsUntil()
  • D parent()

Explanation: The correct answer to the question is: after()

Question 319: Which is not the property of location object?

  • A host
  • B geolocation
  • C port
  • D origin

Explanation: The correct answer to the question is: geolocation

Question 320: Consider the markup and answer the question that follow. Which HTML5 element can replace the "?" ?

  • A both <audio> & <video>
  • B <audio>
  • C <video>
  • D <media>

Explanation: The correct answer to the question is: both <audio> & <video>

Question 321: Which of the following indicates dropdown functionality?

  • A .sr-only
  • B .caret
  • C .close
  • D .text-hide

Explanation: The correct answer to the question is: .caret

Question 322: Which of the following is not a web storage interface?

  • A storageEvent
  • B window
  • C privacy
  • D storage

Explanation: The correct answer to the question is: privacy

Question 323: Which element defines parameters for <object> element?

  • A <noembed>
  • B <embed>
  • C <source>
  • D <param>

Explanation: The correct answer to the question is: <param>

Question 324: Which browser supports mozCurrentSampleOffset?

  • A Firefox
  • B Internet Explorer
  • C Opera
  • D Chrome

Explanation: The correct answer to the question is: Firefox

Question 325: What lines up the terms and descriptions in <dl> element side by side?

  • A .list-inline
  • B .initialism
  • C .dl-horizontal
  • D .list-unstyled

Explanation: The correct answer to the question is: .dl-horizontal

Question 326: Which method is not for traversing DOM tree sideways?

  • A parent()
  • B prev()
  • C siblings()
  • D nextAll()

Explanation: The correct answer to the question is: parent()

Question 327: Arrays in JavaScript are written within . . . . . . . .

  • A ( )
  • B { }
  • C " "
  • D [ ]

Explanation: The correct answer to the question is: [ ]

Question 328: Which element represents a scalar value within the given range?

  • A <meter>
  • B <option>
  • C <input>
  • D <label>

Explanation: The correct answer to the question is: <meter>

Question 329: Which of the following keyword stops the execution of JavaScript?

  • A debugger
  • B try....catch
  • C return
  • D break

Explanation: The correct answer to the question is: debugger

Question 330: The value of fillOpacity lies between . . . . . . . .

  • A 0.0 and 2.0
  • B 3.0 and 4.0
  • C 2.0 and 3.0
  • D 0.0 and 1.0

Explanation: The correct answer to the question is: 0.0 and 1.0

Question 331: Which of the following is not the storageEvent interface?

  • A event.url
  • B event.newValue
  • C event.key
  • D event.clear

Explanation: The correct answer to the question is: event.clear

Question 332: Which of the following element is known as ruby fallback parenthesis?

  • A <rtc>
  • B <q>
  • C <rt>
  • D <rp>

Explanation: The correct answer to the question is: <rp>

Question 333: Which element sets default font face, size and color for other elements?

  • A <big>
  • B <basefont>
  • C <applet>
  • D <acronym>

Explanation: The correct answer to the question is: <basefont>

Question 334: Which of the following is a generic inline container for phrasing content?

  • A <strong>
  • B <sup>
  • C <span>
  • D <sub>

Explanation: The correct answer to the question is: <span>

Question 335: Which of the following is not a transmission mode that plug-in can select?

  • A Complex mode
  • B File mode
  • C Random-access mode
  • D Normal mode

Explanation: The correct answer to the question is: Complex mode

Question 336: When the user leaves instance's page which function is called?

  • A NP_Initialize
  • B NP_Shutdown
  • C NPP_New
  • D NPP_Destroy

Explanation: The correct answer to the question is: NPP_Destroy

Question 337: Which of the following file extension is not used for audio MIME?

  • A .ogv
  • B .aac
  • C .webm
  • D .wav

Explanation: The correct answer to the question is: .ogv

Question 338: Which attribute is used for activation of JavaScript?

  • A button
  • B submit
  • C checkbox
  • D url

Explanation: The correct answer to the question is: button

Question 339: For testing we should use . . . . . . . .

  • A document.write()
  • B innerHTML
  • C window.alert()
  • D console.log()

Explanation: The correct answer to the question is: document.write()

Question 340: What does semantic markup not define?

  • A provides extra information
  • B meaning of an acronym
  • C that describes paragraphs
  • D where an emphasis is placed in a sentence

Explanation: The correct answer to the question is: that describes paragraphs

Question 341: Which element prevents the text from automatically wrapping across multiple lines?

  • A <nobr>
  • B <em>
  • C <mark>
  • D <kbd>

Explanation: The correct answer to the question is: <nobr>

Question 342: Which method is not used for converting variables to number?

  • A Number()
  • B valueOf()
  • C parseInt()
  • D parseFloat()

Explanation: The correct answer to the question is: valueOf()

Question 343: Which of the following class will show blue text?

  • A .text-warning
  • B .text-success
  • C .text-primary
  • D .text-muted

Explanation: The correct answer to the question is: .text-primary

Question 344: Which of the following is not window object property?

  • A closed
  • B defaultStatus
  • C constructor
  • D frames

Explanation: The correct answer to the question is: constructor

Question 345: What is the correct syntax of jQuery?

  • A (selector)$.action()
  • B action().(selector)$
  • C $(selector).action()
  • D action().$(selector)

Explanation: The correct answer to the question is: $(selector).action()

Question 346: For clearing all the settings which function should be called?

  • A localStorage.remove()
  • B localStorage.remove(key)
  • C localStorage.clearAll()
  • D localStorage.clear()

Explanation: The correct answer to the question is: localStorage.clear()

Question 347: Which element is known as Disclosure Summary element?

  • A <dialog>
  • B <menuitem>
  • C <menu>
  • D <summary>

Explanation: The correct answer to the question is: <summary>

Question 348: Which of the following event does not take a MouseEvent argument in Map()?

  • A drag
  • B click
  • C dbclick
  • D mouseover

Explanation: The correct answer to the question is: drag

Question 349: JavaScript numbers are stored as . . . . . . . .

  • A floating point
  • B double
  • C double precision floating point
  • D integers

Explanation: The correct answer to the question is: double precision floating point

Question 350: The search that can't be targeted by SEO is . . . . . . . .

  • A audio search
  • B image search
  • C video search
  • D academic search

Explanation: The correct answer to the question is: audio search