Assuming you are talking about the default tooltip which appears upon mousing over an element with a title, you will have to do this by manipulating the title itself. You can access the title property through the DOM with:
var newTitle = document.getElementById("myElement")[0].title.toUpperCase
document.getElementById("myElement")[0].title = newTitle
Now this is, of course, inherently more difficult than simply changing the title itself, but if these are the criteria for what you are trying to accomplish it should work.
UPDATE
It appears there may be a pure CSS solution actually. Take a look at the top answer to this question: Styling native tooltip from title="Tooltip text"