Example in Action: How to Structure a Web Form

Common HTML structures used with forms

Payment Form HTML Source

You can see the finished payment-form.html source and running live.