<form>
<div class="form-row">
<div class="col-md-4 mb-3">
<label for="validationDefault01">First name</label>
<input type="text" class="form-control" id="validationDefault01" placeholder="First name" value="Mark" required>
</div>
<div class="col-md-4 mb-3">
<label for="validationDefault02">Last name</label>
<input type="text" class="form-control" id="validationDefault02" placeholder="Last name" value="Otto" required>
</div>
<div class="col-md-4 mb-3">
<label for="validationDefaultUsername">Username</label>
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text" id="inputGroupPrepend2">@</span>
</div>
<input type="text" class="form-control" id="validationDefaultUsername" placeholder="Username" aria-describedby="inputGroupPrepend2" required>
</div>
</div>
</div>
<div class="form-row">
<div class="col-md-6 mb-3">
<label for="validationDefault03">City</label>
<input type="text" class="form-control" id="validationDefault03" placeholder="City" required>
</div>
<div class="col-md-3 mb-3">
<label for="validationDefault04">State</label>
<input type="text" class="form-control" id="validationDefault04" placeholder="State" required>
</div>
<div class="col-md-3 mb-3">
<label for="validationDefault05">Zip</label>
<input type="text" class="form-control" id="validationDefault05" placeholder="Zip" required>
</div>
</div>
<div class="form-group">
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="invalidCheck2" required>
<label class="form-check-label" for="invalidCheck2">
Agree to terms and conditions
</label>
</div>
</div>
<button class="btn btn-primary" type="submit">Submit form</button>
</form>
Code Example |
---|
Html :: how to change html code of a website |
Html :: how to show only play button in html audio controls |
Html :: phone input code |
Html :: XACML |
Html :: html image in table |
Html :: how to set logo in html in header |
Html :: a link in new window |
Html :: a go to section |
Html :: font awesome dropdown icon |
Html :: html meter change color |
Html :: multiple ngclass |
Html :: select placeholder |
Html :: html boilerplate vscode |
Html :: cache control html |
Html :: Basic Boilerplate |
Html :: contact form html code |
Html :: og tags |
Html :: pgadmin erd tool existing database |
Html :: add jquery script in html |
Html :: rowspan |
Html :: how to make a link open in new tab html |
Html :: html icon animation |
Html :: bootstrap cdn |
Html :: dropdown calendar html |
Html :: input-group-addon |
Html :: ios viewport cover |
Html :: markdown to html |
Html :: html5 datalist |
Html :: metadata |
Html :: edit box with a drop-down list |