Previously, the way to center something is to use the <center< tag. That has been deprecated and its use is not encourage (It will still work though, but we don't know about the future).
Now if you want to center something, you must use inline style sheet. You have to surround the "something" with <div style="text-align:center;"> and </div>
That is, you have to type it as