Last Updated: February 25, 2016
·
1.459K
· jdlich

The Easy Way to Capitalize Each Word

Use text-transform: capitalize; in CSS.

If you need a full-fledged "titleize" that will skip over small words use Resig's titleCaps(str).