1. Question: Which of the following is a class selector?

    A
    .abc

    B
    abc

    C
    #abc

    D
    div

    Note: Not available
    1. Report
  2. Question: Which of the following is a id selector?

    A
    #someId

    B
    .someId

    C
    someId

    D
    a

    Note: Not available
    1. Report
  3. Question: Which selector matches elements of type E where the value of the attr attribute is exactly "x"?

    A
    E[attr="x"]

    B
    E[attr^="x"]

    C
    E[attr$="x"]

    D
    E[attr]

    Note: Not available
    1. Report
  4. Question: Which selector matches elements of type E where the value of the attr attribute begins with "x"?

    A
    E[attr="x"]

    B
    E[attr^="x"]

    C
    E[attr$="x"]

    D
    E[attr-"x"]

    Note: Not available
    1. Report
  5. Question: In Pseudo-classes

    A
    applied automatically by the browser depending on the position of the element or its interactive state.

    B
    applied styles to content based on its position in the HTML hierarchy.

    C
    both

    D
    none

    Note: Not available
    1. Report
  6. Question: How can you apply one or more CSS class selectors to an element?
    .abc{
    
      }
     .bca{
     
     }

    A
    class="abc"

    B
    class="abc bca"

    C
    id="abc"

    D
    class=".abc"

    E
    style="abc"

    F
    class=".abc .bca"

    Note: Not available
    1. Report
  7. Question: What of the following is correct priority order by browser when multiple CSS rules are conflicted with the identical selectors?

    A
    1. inline CSS 2. Internal CSS 3. External CSS

    B
    1. External CSS 2. Internal CSS 3. Inline CSS

    C
    1. inline CSS 2. External CSS 3. Internal CSS

    D
    1. inline CSS 2. External CSS 3. Internal CSS

    Note: Not available
    1. Report
  8. Question: Which of the following CSS rule contains syntax error?

    A
    p{margin-left:40px;}

    B
    p{margin-left:40px}

    C
    p{margin-left: 40px;}

    D
    p{margin-left:40 px;}

    E
    abc{margin-left: 40px;}

    Note: 1. No space is allowed between value and unit of CSS property. 2. Type selector valid for only html element. Here abc is not valid html element.
    1. Report
  9. Question: The universal selector is represented by _____.

    A
    $ (Dollar) sign

    B
    # (Hash) sign

    C
    & (ampersand) sign

    D
    * (asterisk) sign

    Note: Not available
    1. Report
  10. Question: Which of the following pseudo-class matches the first letter of element E.

    A
    E:1st-letter

    B
    E:first-character

    C
    E:first-letter

    D
    E:firstletter

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd