Home / CSE / Javascript - CS :: Document Object Model and Event Handling

CSE :: Javascript - CS

  1. Which syntax is used to describe elements in CSS?

  2. A.

     Protectors

    B.

     Selectors

    C.

     Both Protectors and Selectors

    D.

     None of the mentioned


  3. What does the following code snippet mean?

    #log>span

  4. A.

     Span child after log declaration

    B.

     Specific span child of id greater than log

    C.

     Span child less than log

    D.

     Any span child of the element with id as log


  5. Which of the following is the ultiate element selection method?

  6. A.

     querySelectorAll()

    B.

     querySelector()

    C.

     queryAll()

    D.

     query()


  7. Which of the following is the Web application equivalent to querySelectorAll()?

  8. A.

     #()

    B.

     &()

    C.

     $()

    D.

     None of the mentioned


  9. The C in CSS stands for

  10. A.

     Continuous

    B.

     Cascaded

    C.

     Contentional

    D.

     Cascading


  11. The latest version of CSS is

  12. A.

     CSS1

    B.

     CSS2

    C.

     CSS3

    D.

     CSS4


  13. Which of the following is an example of a Shortcut Property?

  14. A.

     border

    B.

     font

    C.

     text

    D.

     all of the mentioned


  • Which of the following is the default positioning elements with CSS?

  • A.

     relative

    B.

     static

    C.

     absolute

    D.

     none of the mentioned


  • Which property lays the element according to the normal flow?

  • A.

     relative

    B.

     absolute

    C.

     fixed

    D.

     static


  • Which of the following property allows you to specify an element’s position with respect to the browser window?

  • A.

     relative

    B.

     fixed

    C.

     static

    D.

     absolute