how to input words in center via input tag in html code example Example: text input center input { text-align: center; }