align a form to center of page code example Example: html align form center form { text-align: center; }