Home / CSE / CSS - CS :: Basic CSS

CSE :: CSS - CS

  1. Which of the following defines 1% of viewport width?

  2. A.

     px

    B.

     vh

    C.

     vw

    D.

     vmin


  3. Which of the following uses 1vw or 1vh, whichever is smaller?

  4. A.

     px

    B.

     vh

    C.

     vw

    D.

     vmin


  5. Which of the following is correct about Hex Code format of CSS colors?

  6. A.

     The first two digits(RR) represent a red value.

    B.

     The next two are a green value(GG).

    C.

     The last are the blue value(BB).

    D.

     All of the above


  7. What is css stands for

  8. A.

     Color Style Sheets

    B.

     Cascade Sheets Style

    C.

     Cascade Style Sheet

    D.

     Cascading Style Sheets


  9. In css what does h1 can be called as

  10. A.

     Selector

    B.

     Attribute

    C.

     Value

    D.

     Tag


  11. In css what does “color:red” can be called as

  12. A.

     Selector

    B.

     Rule

    C.

     Declaration

    D.

     None of the above


  13. Which of the following attributes is used to specify elements to bind style rules to?

  14. A.

     id

    B.

     class

    C.

     tag

    D.

     all of the mentioned


  15. ________ selectors, which are used to specify a rule to bind to a particular unique element

  16. A.

     id

    B.

     class

    C.

     tag

    D.

     both (B) and (C)


  17. In css what does “font-size” can be called as

  18. A.

     Selector

    B.

     Rule

    C.

     Property

    D.

     Property-Name


  19. _________ selectors, which are used to specify a group of elements

  20. A.

     id

    B.

     class

    C.

     tag

    D.

     both (B) and (C)