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