css center a form on a page code example Example: html align form center form { text-align: center; }