html form set in the middle code example Example: html align form center form { text-align: center; }