how to make the text input center in html code example Example: text input center input { text-align: center; }