
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Container for Checkboxes in Bootstrap
Add checkbox to a web page with Bootstrap, using the .checkbox class in Bootstrap
You can try to run the following code to set container for checkboxes −
Example
<!DOCTYPE html> <html> <head> <title>Bootstrap Example</title> <link href="/https/www.tutorialspoint.com/bootstrap/css/bootstrap.min.css" rel = "stylesheet"> <script src = "/scripts/jquery.min.js"></script> <script src = "/bootstrap/js/bootstrap.min.js"></script> </head> <body> <div class = "container"> <h2>Programming Survey</h2> <p>Which programming languages do you like?</p> <form> <div class = "checkbox"> <label><input type = "checkbox" value = " ">Java</label> </div> <div class = "checkbox"> <label><input type = "checkbox" value="">C++</label> </div> <div class = "checkbox"> <label><input type = "checkbox" value="">C</label> </div> </form> </div> </body> </html>
Advertisements