<span style="text-transform:capitalize;" >this is a test!!!</span><br>
首字母大写<input type="text" style="text-transform:capitalize;"><br>
全部大写<input type="text" style="text-transform:uppercase;"><br>
全部小写<input type="text" style="text-transform:lowercasecase;"><br>
转载于:https://www.cnblogs.com/walkingboy/archive/2005/08/08/209880.html