pTutorial

New way to learn Programming

Bootstrap Select Box Examples

Bootstrap Select Box

The following example contains single and multiple bootstrap select box with the help of live example.

Bootstrap Select Box Examples

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="http://freeonlinecompiler.ptutorial.com/
css/bootstrap.min.css">
</head>
<body>
<div class="container">
<h2>Bootstrap select box example</h2>
<p>Bootstrap single select box example</p>
<form role="form">
<div class="form-group">
<label for="sel1">Singel Select Bootstrap Example</label>
<select class="form-control">
<option value="Option-1">Option-1</option>
<option value="Option-2">Option-2</option>
<option value="Option-3">Option-3</option>
<option value="Option-4">Option-4</option>
</select>
<br>
<label for="sel2">Mutiple select Box Example</label>
<select multiple class="form-control">
<option value="Option-1">Option-1</option>
<option value="Option-2">Option-2</option>
<option value="Option-3">Option-3</option>
<option value="Option-4">Option-4</option>
<option value="Option-5">Option-5</option>
</select>
</div>
</form>
</div>

</body>
</html>



Download

See Also


QUOTES OF THE DAY

We are never deceived we deceive ourselves.

LIKE ON FACEBOOK

+1 ON GOOGLE

SHARE ON TWITTER