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