- 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
Working with Bootstrap Jumbotron
Jumbotron component can optionally increase the size of headings and add a lot of margin for landing page content.
To use it follow the below given steps −
- Create a container <div> with the class of .jumbotron.
- In addition to a larger <h1>, the font-weight is reduced to 200
Let us see an example −
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> <div class = "container"> <div class = "jumbotron"> <h1>Welcome to first page!</h1> <p>Example for jumbotron.</p> <p> <a class = "btn btn-primary btn-lg" role = "button">Button</a> </p> </div> </div> </body> </html>
Advertisements