On a blog page, you want to emphasize the first line of every paragraph differently from the rest of the content. Which CSS property and pseudo-element will help you achieve this effect?

  • ::emphasize
  • ::first-letter
  • ::first-line
  • ::highlight
To emphasize the first line of every paragraph differently from the rest of the content, you should use the ::first-line pseudo-element in CSS. This pseudo-element targets the first line of a block-level element and allows you to apply specific styling to it.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *