Home / CSE / CSS - CS :: Basic CSS

CSE :: CSS - CS

  1. Which of the following Protocol enables a hyperlink to access a file on the local file system?

  2. A.

     https

    B.

     ftp

    C.

     file

    D.

     telnet

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. Which of the following attribute specifies the URL of the linked resource?

  4. A.

     src

    B.

     link

    C.

     rel

    D.

     href

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Which of the following color has this value #ff0000?

  6. A.

     blue

    B.

     green

    C.

     red

    D.

     yellow

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Which of the following is correct about CSS?

  8. A.

     CSS is used to control the style of a web document in a simple and easy way.

    B.

     CSS is the acronym for "Cascading Style Sheet".

    C.

     You can write CSS once and then reuse same sheet in multiple HTML pages

    D.

     All of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. Which of the following is a component of CSS style rule?

  10. A.

     Selector

    B.

     Property

    C.

     Value

    D.

     All of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Which of the following selector matches all elements of a type?

  12. A.

     The Type Selector

    B.

     The Universal Selector

    C.

     The Descendant Selector

    D.

     The Class Selector

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. Which of the following selector matches a particular element only when it lies inside a particular element?

  14. A.

     The Type Selector

    B.

     The Universal Selector

    C.

     The Descendant Selector

    D.

     The Class Selector

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Which of the following selector selects all paragraph elements with a lang attribute?

  16. A.

     p[lang]

    B.

     p[lang="fr"]

    C.

     p[lang~="fr"]

    D.

     p[lang|="fr"]

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. Which of the following defines a measurement as a percentage relative to another value, typically an enclosing element?

  18. A.

     %

    B.

     cm

    C.

     em

    D.

     ex

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Which of the following defines 1% of viewport height?

  20. A.

     px

    B.

     vh

    C.

     vw

    D.

     vmin

    View Answer

    Workspace

    Discuss Discuss in Forum