<!DOCTYPE html>
<html>
<body onload="x.style.textTransform = 'capitalize';"><div id="x">b</div></body>
</html>