Home / CSE / HTML- CS :: Basic HTML

CSE :: HTML- CS

  1. Which of the following allows user to view a webpage?

  2. A.

     Operating System

    B.

     Website

    C.

     Interpreter

    D.

     Internet Browser


  3. What is DOM in HTML?

  4. A.

     Hierarchy of objects in ASP.NET

    B.

     Application programming interface

    C.

     Convention for representing and interacting with objects in html documents

    D.

     None of the mentioned


  5. This is used to

    <meta http-equiv="X-UA-Compatible" content="IE=8">

  6. A.

     make web page compatible only with IE8

    B.

     mimic behaviour of IE8

    C.

     make web page incompatible only with IE8

    D.

     None of the mentioned


  7. 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 ?

  8. A.

     HTML5

    B.

     HTML5 Shiv

    C.

     HTML5 Shim

    D.

     None of the mentioned


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

  10. A.

     Download the library from the github location

    B.

     Uncompress the file

    C.

     Insert the following code inside the head tag

    D.

     None of the mentioned


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

  12. A.

     navigator.userAgent

    B.

     navigator.user

    C.

     navigator

    D.

     return


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

  14. A.

     mq() media Plugin API

    B.

     addTest() Plugin API

    C.

     testAllProps() Plugin API

    D.

     none of the mentioned


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

  16. A.

     Navigator

    B.

     Modernizr

    C.

     Geolocation

    D.

     Google API


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

  18. A.

     hasEvent()

    B.

     testAllProps()

    C.

     testProp()

    D.

     modernizr.testStyles()


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

  20. A.

     True

    B.

     False