HTMLify
bs5.html
Views: 695 | Author: demo
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | <!DOCTYPE html> <html> <head> <title>Bootstrap Form Demo</title> <!-- Include Bootstrap CSS from a CDN --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> </head> <body> <div class="container"> <h1>Bootstrap Form Demo</h1> <p>Explore a beautiful Bootstrap form with various field types:</p> <!-- Bootstrap Form --> <form> <div class="form-group"> <label for="name">Name:</label> <input type="text" class="form-control" id="name" placeholder="Enter your name"> </div> <div class="form-group"> <label for="email">Email:</label> <input type="email" class="form-control" id="email" placeholder="Enter your email"> </div> <div class="form-group"> <label for="password">Password:</label> <input type="password" class="form-control" id="password" placeholder="Enter your password"> </div> <div class="form-group"> <label for="bio">Bio:</label> <textarea class="form-control" id="bio" rows="4" placeholder="Tell us about yourself"></textarea> </div> <div class="form-check"> <input type="checkbox" class="form-check-input" id="subscribe"> <label class="form-check-label" for="subscribe">Subscribe to our newsletter</label> </div> <div class="form-group"> <label for="gender">Gender:</label> <select class="form-control" id="gender"> <option value="male">Male</option> <option value="female">Female</option> <option value="other">Other</option> </select> </div> <div class="form-group"> <label for="birthdate">Date of Birth:</label> <input type="date" class="form-control" id="birthdate"> </div> <button type="submit" class="btn btn-primary">Submit</button> </form> </div> <!-- Include Bootstrap JavaScript and jQuery from a CDN --> <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.3/dist/umd/popper.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> </body> </html> |