The ::______ pseudo-element is used to apply styles to the first line of text in a block-level element.

  • first-line
  • first-child
  • line-first
  • text-first
The correct option is a) first-line. The ::first-line pseudo-element in CSS is used to style the first line of text within a block-level element, allowing for fine-tuned typography control.
Add your answer
Loading...

Leave a comment

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