Advertisement
androidmaker155

form

Feb 10th, 2016
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.29 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <meta http-equiv="x-ua-compatible" content="ie=edge">
  7. <title>My Example</title>
  8. <!-- Bootstrap CSS -->
  9. <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
  10.  
  11. </head>
  12. <body>
  13. <div class="container-fluid">
  14.        
  15. <form action="/html/tags/html_form_tag_action.cfm" class="form-horizontal">
  16. <div class="form-group">
  17. <label for="first_name" class="col-xs-3 control-label">First Name</label>
  18. <div class="col-xs-9">
  19. <input type="text" class="form-control" id="first_name" name="first_name">
  20. </div>
  21. </div>
  22. <div class="form-group">
  23. <label for="last_name" class="col-xs-3 control-label">Last Name</label>
  24. <div class="col-xs-9">
  25. <input type="text" class="form-control" id="last_name" name="last_name">
  26. </div>
  27. </div>
  28. <div class="form-group">
  29. <div class="col-xs-offset-3 col-xs-9">
  30. <button type="submit" class="btn btn-default">Submit</button>
  31. </div>
  32. </div>
  33. </form>
  34.  
  35. </div>
  36.        
  37. <!-- jQuery library -->
  38. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
  39. <!-- Bootstrap JS -->
  40. <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
  41. </body>
  42. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement