LinkedIn CSS Skill Assessment Quiz Answers

Review the HTML example below. Then choose the list of selectors that select the <p>, from lowest to highest specificity.

Latest Update on 23rd March, 2022 by Certification Course Answers

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

, from lowest to highest specificity.

<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 {
      ...;
    }

Correct Answer:

  • 1. p {
      ...;
    }
    2. section p {
      ...;
    }
    3. [class*='example'] {
      ...;
    }
    4. p.example {
      ...;
    }

Latest Updates

No posts found in this category.