The article presents quick code samples on Bootstrap form and its elements such as textfield, dropdown, button etc that one could copy and paste and get started quickly. For those unaware of what is Bootstrap, following is a very brief write-up:
Bootstrap is a popular UI framework which helps one to create great UI for both Web and Mobile projects. The information and code samples could be accessed on http://getbootstrap.com/.
All I could say is that the day I came across Bootstrap, I managed to create great UIs for all of my Java projects in no time. Something that I always looked upon others to help me with. Something which seemed NOT do-able for me as I was a Java/PHP developer. As an example, I create a quick project, AgileSQM, using Bootstrap UI framework. I would have spent not more than 3-4 hours to create all the UI pages.
<form class="form-horizontal" role="form" method="post" action="<context-path-for-formhandler>">
</form>
<div class="form-group">
<label class="col-md-2 control-label">First Name</label>
<div class="col-md-4">
<input type="text" class="form-control" name="first_name" required>
</div>
</div>
<div class="form-group">
<label class="col-md-2 control-label">Country</label>
<div class="col-md-4">
<select class="form-control" name="Country">
<option value="1">India</option>
<option value="1">UK</option>
<option value="1">USA</option>
</select>
</div>
</div>
<div class="form-group">
<div class="col-md-4" style="">
<button type="submit" class="btn btn-lg btn-primary">Submit</button>
</div>
</div>
Last updated: 3rd May, 2024 Have you ever wondered why some machine learning models perform…
Last updated: 2nd May, 2024 The success of machine learning models often depends on the…
When working on a machine learning project, one of the key challenges faced by data…
Last updated: 1st May, 2024 The bias-variance trade-off is a fundamental concept in machine learning…
Last updated: 1st May, 2024 As a data scientist, understanding the nuances of various cost…
Last updated: 1st May, 2024 In this post, you will learn the concepts related to…