You can convert the appearance of text in a defined block of HTML using pure CSS, without the need of manual character replacement.
You can capitalize words, title case words or lowercase words in a block or div using pure CSS. Do do this simply use the following statement in your CSS style definition file:
/* Upper Case */
text-transform: uppercase;
/* Title Case */
text-transform: capitalize;
/* Lower Case */
text-transform: lowercase;