how to capitalize 1st letter in html using css code example Example: How do you make each word in a text start with a capital letter? h1 { text-transform: capitalize; }