Prev Demo
Bootstrap
>
Horizontal Form
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Horizontal Form in Bootstrap</title> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet" /> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script> </head> <body> <p>Demonstration of Horizontal Form in Bootstrap.</p> <form action="/ReOrder" class="form-inline" method="post"> <div class="form-group"> <select class="form-control" id="CategoryId" name="CategoryId"> <option value="1">ASP.NET Web Forms</option> <option value="2">ASP.NET MVC</option> <option value="4">SQL Server</option> </select> </div> <div class="form-group"> <input type="submit" value="Submit" class="btn btn-default" /> </div> </form> </body> </html>
Note: We DO NOT save your trial code in our database.
Output