The :first-line pseudo-element is used to style the first formatted line of a paragraph by using text-transform property with value uppercase. For e.g. p:first-line { text-transform: uppercase }