CSS ::first-letter pseudo-element CSS can be applied to the first letter of an element: p::first-letter { text-transform: uppercase; }