1. Question: Which of the following CSS rules using type selector?

    A
    *{margin:0px;}

    B
    p{margin:0px;}

    C
    .type{margin:0px;}

    D
    #type{margin:0px;}

    Note: Not available
    1. Report
  2. Question: Which of the following CSS rule uses descendant selector?

    A
    p strong{color:gray;}

    B
    p{color:gray;}

    C
    p.strong{color:gray;}

    D
    p#strong{color:gray;}

    Note: Not available
    1. Report
  3. Question: Which of the following selectors matches elements of type "a" with the attribute href?

    A
    a[href]

    B
    a href

    C
    <a href>

    D
    a@href

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

    A
    .abc

    B
    abc

    C
    #abc

    D
    div

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

    A
    #someId

    B
    .someId

    C
    someId

    D
    a

    Note: Not available
    1. Report
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
Copyright © 2024. Powered by Intellect Software Ltd