In this article we will learn about some of the frequently asked HTML programming questions in technical like “form-group” Code Answer’s. When creating scripts and web applications, error handling is an important part. If your code lacks error checking code, your program may look very unprofessional and you may be open to security risks. Error or stack handling on html was simple and easy. An error message with filename, line number and a message describing the error is sent to the browser. This tutorial contains some of the most common error checking methods in HTML. Below are some solution about “form-group” Code Answer’s.
form-group
xxxxxxxxxx
1
<form>
2
<div class="form-group">
3
<label for="exampleInputEmail1">Email address</label>
4
<input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter email">
5
<small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
6
</div>
7
<div class="form-group">
8
<label for="exampleInputPassword1">Password</label>
9
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
10
</div>
11
<div class="form-check">
12
<input type="checkbox" class="form-check-input" id="exampleCheck1">
13
<label class="form-check-label" for="exampleCheck1">Check me out</label>
14
</div>
15
<button type="submit" class="btn btn-primary">Submit</button>
16
</form>
bootstrap form
xxxxxxxxxx
1
<form>
2
<div class="form-group row">
3
<label for="staticEmail" class="col-sm-2 col-form-label">Email</label>
4
<div class="col-sm-10">
5
<input type="text" readonly class="form-control-plaintext" id="staticEmail" value="email@example.com">
6
</div>
7
</div>
8
<div class="form-group row">
9
<label for="inputPassword" class="col-sm-2 col-form-label">Password</label>
10
<div class="col-sm-10">
11
<input type="password" class="form-control" id="inputPassword" placeholder="Password">
12
</div>
13
</div>
14
</form>