- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Bootstrap block level help text
Bootstrap form controls can have a block level help text that flows with the inputs. To add a full width block of content, use the .help-block after the <input>.
The following example demonstrates this
Example
<!DOCTYPE html> <html> <head> <title>Bootstrap Example</title> <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet"> <script src = "/scripts/jquery.min.js"></script> <script src = "/bootstrap/js/bootstrap.min.js"></script> </head> <body> <form role = "form"> <span>Example of Help Text</span> <input class = "form-control" type = "text" placeholder = ""> <span class = "help-block"> A longer block of help text that breaks onto a new line and may extend beyond one line. </span> </form> </body> </html>
- Related Articles
- Create block level button with Bootstrap
- Create a block level button with Bootstrap
- Block-level Elements and Block Boxes in CSS
- Bootstrap .btn-block class
- Bootstrap class center-block
- Bootstrap 4 .d-block class
- d-*-block class in Bootstrap 4
- Create a block element with Bootstrap 4
- Bootstrap class to emphasize text
- Bootstrap 4 .card-text class
- Usage of Bootstrap navbar-text class
- Wrap Strings of Text in Bootstrap Navbar
- Create a block element on a specific screen width with Bootstrap 4
- At an individual level, how can you help reduce air pollution ?
- How can you help reduce air pollution at the individual level?

Advertisements