I'm sure there's easier ways but ....
<html>
<body>
<table>
<tr>
<td>
<form action='form1'>
<input type='submit' value='form1'/>
</form>
</td>
<td>
<form action='form2'>
<input type='submit' value='form2'/>
</form>
</td>
</tr>
</table>
</body>
</html>
Basically you are placing the <form>'s within cells of a table so the natural tendency of the </form> tag to newline is confined to the cell.
Regards
Stoney