What is Bootstrap Jumbotron and how to use it

A Jumbotron in Bootstrap Web UI framework is a huge box-shaped component that is displayed on the page to draw user attention to some important content.

-According to Bootstrap Jumbotron is a lightweight, flexible component that can optionally extend the entire viewport to showcase key content on your site.

The default color of Jumbotron is gray with rounded corners. A jumbotron is the CSS class for creating Jumbotron, It contains an H1 tag along with a p tag to display some text inside it.

Code Snippet: jumbotron-example.html
<!DOCTYPE html>
  <title>What is Bootstrap Jumbotron?</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
  <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<div class="container">
  <div class="jumbotron">
    <h1>What is Bootstrap Jumbotron?</h1>      
    <p>A jumbotron is a huge box that is displayed on the page to draw attention of some important content.</p>

Try Out Code2care Dev Tools:


Android Java Linux Microsoft Google Python macOS Notepad++ Microsoft Teams CSS PHP SharePoint Html Linux C Programs Bootstrap jQuery Sublime Android Studio Facebook Eclipse WhatsApp News MySQL Json HowTos JavaScript FTP S3


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Tutorials, Trouble-Shooting steps, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.
🎉 We are celebrating the 10th years of Code2care! Thank you for all your support! We hope we made a difference.
We strong support Gender Equality & Diversity.

We stand in solidarity with Ukraine - Make a donation to UNHCR - https://donate.unhcr.org/in/en-in/ukraine-emergency