Forms - Adding a Basic Form

In this lesson, we will examine user input for a website through the use of Forms support in Bootstrap

Adding a Basic Form

We will add a simple form to the page at the location identified by "Form goes here". Add the following code to page to create a simple horizontal form with two fields: 

Basic form source:

This creates a form with two elements in the form. Note that the class row in the form enables us to use the Bootstrap grid system. Hence we can style the contents using the column classes as appropriate.