how to center align form in html code example Example: html align form center form { text-align: center; }