Computer scienceFrontendCSSSelectors in Depth

Specificity

Choose the winner

Report a typo

Copy and paste into the answer field the selector which will be applied to "Chicken Soup for the Teenage Soul II".

HTML:

<!-- the previous code -->

<body>
  <p>
    <q>We may never really discover the meaning of life, but the knowledge we gain in our quest to discover it is truly more valuable.</q> 
    <cite>Jack Canfield, ‎Mark Victor Hansen, <span id="title">Chicken Soup for the Teenage Soul II</span></cite>
  </p>
</body>

<!-- the following code -->

CSS:

p cite {
  font-style: normal;
}

#title {
  font-style: oblique;
  color: purple;
}

p {
  font-style: italic;
}
Enter a short text
___

Create a free account to access the full topic