Review the HTML example below. Then choose the list of selectors that select the

, from lowest to highest specificity.

Advertisement

<section>
<p class=”example”>…</p>
</section>

  • 1. section \* {
    …;
    }
    2. [class*=’example’] {
    …;
    }
    3. p.example {
    …;
    }
    4. section p {
    …;
    }
  • 1. p {
    …;
    }
    2. p.example {
    …;
    }
    3. section p {
    …;
    }
    4. [class*=’example’] {
    …;
    }
  • 1. p.example {
    …;
    }
    2. section p {
    …;
    }
    3. [class*=’example’] {
    …;
    }
    4. section \* {
    …;
    }
  • 1. p {
    …;
    }
    2. section p {
    …;
    }
    3. [class*=’example’] {
    …;
    }
    4. p.example {
    …;
    }
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment


Share via
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend