Form: Inline Form 1

 
<form class="form-inline">

    <div class="form-group">
        <label for="name">Name</label>
        <input type="text" class="form-control" name="name" placeholder="Name">
    </div>

    <div class="form-group">
        <label for="email">Email</label>
        <input type="email" class="form-control" name="email" placeholder="Email">
    </div>

    <button type="submit" name="submit" class="btn btn-default">Submit</button>

</form>

 

Related Snippets

•  Form: Inline Form 2
•  Form: Inline Form 3
•  Form: Advanced Example
•  Form: Horizontal Form (with grid)
•  Form: Basic Example 2 (with grid)
•  Form: Basic Example 1