Home / CSE / HTML- CS :: HTML5

CSE :: HTML- CS

  1. Which boolean attribute if specified, will allow video automatically seek back to the start after reaching at the end.

  2. A.

     autoplay

    B.

     autobuffer

    C.

     loop

    D.

     controls


  3. Which method retrieves periodic updates about the current geographic location of the device.

  4. A.

     getCurrentPosition()

    B.

     watchPosition()

    C.

     clearWatch()

    D.

     All the mentioned above


  5. Which of the following attribute triggers event after the document is printed?

  6. A.

     offlineprint

    B.

     onprint

    C.

     onafterprint

    D.

     onbeforeprint


  7. Which is a JavaScript running in the background, without affecting the performance of the page.

  8. A.

     Web Worker

    B.

     Canvas

    C.

     SVG

    D.

     None of the above


  9. Which event will be used when a connection to the server is opened.

  10. A.

     onopen

    B.

     onmessage

    C.

     onerror

    D.

     None of the above


  11. Which method is used to increase or decrease the units in a canvas grid.

  12. A.

     Canvas Transform

    B.

     Canvas Rotation

    C.

     Canvas Scaling

    D.

     Canvas Composition


  13. The canvas element has a DOM method it is called.

  14. A.

     getContext

    B.

     getId

    C.

     getElement

    D.

     None of the above


  15. The HTML canvas is a

  16. A.

     Three-dimensional grid

    B.

     One-dimensional grid

    C.

     Two-dimensional grid

    D.

     None of the above