Hyper Text Markup Language (HTML) Question: Download HTML PDF

How can I eliminate the extra space after a form tag?

Tweet Share WhatsApp

Answer:

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 ; }

Download HTML PDF Read All 84 HTML Questions
Previous QuestionNext Question
How do I eliminate the space around/between my images?Can I have two or more actions in the same form?