|
| 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.0"> |
| 6 | + <title>All in One Form</title> |
| 7 | + <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet"> |
| 8 | + <link rel="stylesheet" href="style.css"> |
| 9 | +</head> |
| 10 | +<body> |
| 11 | + <div class="title-heading">All In One Form</div> |
| 12 | + <form class="all-in-one-form"> |
| 13 | + |
| 14 | + <div class="form-group"> |
| 15 | + <label for="textInput">UserName</label> |
| 16 | + <input type="text" class="form-control" id="textInput" placeholder="Enter text"> |
| 17 | + </div> |
| 18 | + |
| 19 | + <div class="form-group"> |
| 20 | + <label for="passwordInput">Password</label> |
| 21 | + <input type="password" class="form-control" id="passwordInput" placeholder="Enter password"> |
| 22 | + </div> |
| 23 | + |
| 24 | + <div class="form-group"> |
| 25 | + <label for="emailInput">Email</label> |
| 26 | + <input type="email" class="form-control" id="emailInput" placeholder="Enter email"> |
| 27 | + </div> |
| 28 | + |
| 29 | + <div class="form-group"> |
| 30 | + <label for="textarea">Textarea</label> |
| 31 | + <textarea class="form-control" id="textarea" rows="3" placeholder="Enter your message"></textarea> |
| 32 | + </div> |
| 33 | + |
| 34 | + <div class="form-group"> |
| 35 | + <label>Checkbox</label> |
| 36 | + <div class="form-check"> |
| 37 | + <input class="form-check-input" type="checkbox" id="check1"> |
| 38 | + <label class="form-check-label" for="check1"> |
| 39 | + Option 1 |
| 40 | + </label> |
| 41 | + </div> |
| 42 | + <div class="form-check"> |
| 43 | + <input class="form-check-input" type="checkbox" id="check2"> |
| 44 | + <label class="form-check-label" for="check2"> |
| 45 | + Option 2 |
| 46 | + </label> |
| 47 | + </div> |
| 48 | + </div> |
| 49 | + |
| 50 | + <div class="form-group"> |
| 51 | + <label>Radio Options</label> |
| 52 | + <div class="form-check"> |
| 53 | + <input class="form-check-input" type="radio" name="radioOptions" id="radio1" value="option1"> |
| 54 | + <label class="form-check-label" for="radio1"> |
| 55 | + Option 1 |
| 56 | + </label> |
| 57 | + </div> |
| 58 | + <div class="form-check"> |
| 59 | + <input class="form-check-input" type="radio" name="radioOptions" id="radio2" value="option2"> |
| 60 | + <label class="form-check-label" for="radio2"> |
| 61 | + Option 2 |
| 62 | + </label> |
| 63 | + </div> |
| 64 | + </div> |
| 65 | + |
| 66 | + <div class="form-group"> |
| 67 | + <label for="fileInput">File Input</label> |
| 68 | + <input type="file" class="form-control-file" id="fileInput"> |
| 69 | + </div> |
| 70 | + |
| 71 | + <div class="form-group"> |
| 72 | + <label for="dropdown">Dropdown Menu</label> |
| 73 | + <select class="form-control" id="dropdown"> |
| 74 | + <option value="1">Option 1</option> |
| 75 | + <option value="2">Option 2</option> |
| 76 | + <option value="3">Option 3</option> |
| 77 | + </select> |
| 78 | + </div> |
| 79 | + |
| 80 | + <div class="form-group"> |
| 81 | + <label for="rangeInput">Range</label> |
| 82 | + <input type="range" class="form-control-range" id="rangeInput" min="0" max="100"> |
| 83 | + </div> |
| 84 | + |
| 85 | + <button type="submit" class="btn btn-primary btn-block">Submit</button> |
| 86 | + </form> |
| 87 | + |
| 88 | + <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script> |
| 89 | + <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"></script> |
| 90 | + <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> |
| 91 | + |
| 92 | +</body> |
| 93 | +</html> |
0 commit comments