HTML has no mechanism to control this. However, with CSS, you can set the margin-bottom of the form to 0. For example: <form style="margin-bottom:0;" action=...> You can also use a CSS style sheet to affect all the forms on a page: form { margin-bottom: 0 ; }