Last active
December 28, 2020 01:59
-
-
Save Tanu-N-Prabhu/e7d1bc887ba7f8e1c99235f69f5d49ac to your computer and use it in GitHub Desktop.
A simple Bootstrap Form
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- | |
| FileName - bootstrapForm.html | |
| Description - This is a regular Bootstrap form takes two inputs name, and dob. Bootstrap was used for responsiveness | |
| Author - Tanu Nanda Prabhu | |
| --> | |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>Bootstrap Forms</title> | |
| <!-- Necessary libraries and adjustments of Bootstrap for responsiveness --> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"> | |
| <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <h1>Simple Bootstrap Form</h1><br> | |
| <!-- Dummy Form, on submitting goes nowhere --> | |
| <form action=""> | |
| <div class="form-group"> | |
| <label>Full Name</label> | |
| <input class="form-control" type="text"> | |
| </div> | |
| <div class="form-group"> | |
| <label>Date of Birth</label> | |
| <input class="form-control" type="date"> | |
| </div> | |
| <button type="submit" class="btn btn-primary">Submit</button> | |
| </form> | |
| <br> | |
| <p><b>If you click the "Submit" button, nothing happens. It's a dummy form</b></p> | |
| </div> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment