Simple Form is a convenient way to generate forms with many options to customize the generated markup.

Read more at the source