Home
Tutorials
Microsoft Technologies Tutorials
Java Programming Tutorials
Web Designing Tutorials
Script Programming Tutorials
Database Programming Tutorials
Mobile Technologies Tutorials
Other Programming Tutorials
Examples
Articles
Tools
News
Bootstrap Toggle Switches Example
Keywords : form, bootstrap, inputs, bootstrap custom forms, bootstrap custom form controls, bootstrap custom form inputs examples, bootstrap disable custom form, bootstrap disable custom form controls example
Example
<!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap Toggle Switches Example</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"> <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script> <style> .bcontent { margin-top: 10px; } </style> </head> <body> <div class="container-fluid bcontent"> <h2>Bootstrap Toggle Switch</h2> <hr /> <form> <h6>Graduated?</h6> <div class="custom-control custom-switch"> <input type="checkbox" class="custom-control-input" name="customchk" id="chkenglish"> <label for="chkenglish" class="custom-control-label">Toggle Switch</label> </div> <hr /> <h6>Disabled Switch</h6> <div class="custom-control custom-switch"> <input type="radio" name="customrdb" id="rdbmale" class="custom-control-input" disabled> <label for="rdbmale" class="custom-control-label">Disabled Switch</label> </div> </form> </div> </body> </html>
Click Here to See Result
Result
Previous
Next