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