Commerce

Basic Html MCQs

Practice Basic Html MCQs for competitive exams.

Basic Html MCQs

Practice questions from this topic.

___________ is used to test whether geolocation is supported in old browsers.

  1. A. Modernizr
  2. B. Modernizr.geolocation
  3. C. Navigator.userAgent
  4. D. Modernizr.js
Report Error

Modernizr does actually add missing functionalities to browsers save for the HTML5 tags styling support.

  1. A. True
  2. B. False
Report Error

____________ allows you to add custom styles to the document and test an element afterwards.

  1. A. hasEvent()
  2. B. testAllProps()
  3. C. testProp()
  4. D. modernizr.testStyles()
Report Error

___________ is an open source JavaScript library that allows support for different levels of experiences based on the capabilities of each browser.

  1. A. Navigator
  2. B. Modernizr
  3. C. Geolocation
  4. D. Google API
Report Error

Some users have requested tests for IE’s float double margin bug, and support for position:fixed. Which API is suitable for them?

  1. A. mq() media Plugin API
  2. B. addTest() Plugin API
  3. C. testAllProps() Plugin API
  4. D. none of the mentioned
Report Error

Which property is used to detect the browser’s user agent and code based on the pertinent cases?

  1. A. navigator.userAgent
  2. B. navigator.user
  3. C. navigator
  4. D. return
Report Error

Which one of the following is not a step to install a library you need to perform the compatibility in browsers ?

  1. A. Download the library from the github location
  2. B. Uncompress the file
  3. C. Insert the following code inside the head tag
  4. D. None of the mentioned
Report Error

Which one of the following is an open source JavaScript library that enables styling for HTML5 elements in versions of Internet Explorer before IE 9 ?

  1. A. HTML5
  2. B. HTML5 Shiv
  3. C. HTML5 Shim
  4. D. None of the mentioned
Report Error

This is used to

  1. A. make web page compatible only with IE8
  2. B. mimic behaviour of IE8
  3. C. make web page incompatible only with IE8
  4. D. None of the mentioned
Report Error

What is DOM in HTML?

  1. A. Hierarchy of objects in ASP.NET
  2. B. Application programming interface
  3. C. Convention for representing and interacting with objects in html documents
  4. D. None of the mentioned
Report Error

Which of the following allows user to view a webpage?

  1. A. Operating System
  2. B. Website
  3. C. Interpreter
  4. D. Internet Browser
Report Error

Which of the following are automatically loaded and operates as a part of browser?

  1. A. Add-ons
  2. B. Plug-ins
  3. C. Utilities
  4. D. Widgets
Report Error