<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<div class="container">
<div class="row">
<div class="col-*-*"></div>
<div class="col-*-*"></div>
</div>
<div class="row">
<div class="col-*-*"></div>
<div class="col-*-*"></div>
<div class="col-*-*"></div>
</div>
<div class="row">
...
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-4 my-2">
<img src="https://revolutionit.in/img/slider/e2.jpg" class="img-fluid" >
</div>
<div class="col-md-4 my-2">
<img src="https://revolutionit.in/img/slider/e1.jpg" class="img-fluid" >
</div>
<div class="col-md-4 my-2">
<img src="https://revolutionit.in/img/slider/e3.jpg" class="img-fluid" >
</div>
</div>
</div>
Note: mx (left and right margin) and my (top and bottom margin) are margin clasees in bootstrap, here we have applied my-2 class i.e. top and bootom margin
Firstname | Lastname | |
---|---|---|
ABC | PQR | abc@example.com |
DEF | HIJ | def@example.com |
XYZ | ZXY | xyz@example.com |
<table class="table">
<thead>
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Email</th>
</tr>
</thead>
<tbody>
<tr>
<td>ABC</td>
<td>PQR</td>
<td>abc@example.com</td>
</tr>
<tr>
<td>DEF</td>
<td>HIJ</td>
<td>def@example.com</td>
</tr>
<tr>
<td>XYZ</td>
<td>ZXY</td>
<td>xyz@example.com</td>
</tr>
</tbody>
</table>
Firstname | Lastname | |
---|---|---|
ABC | PQR | abc@example.com |
DEF | HIJ | def@example.com |
XYZ | ZXY | xyz@example.com |
<table class="table table-striped">
<thead>
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Email</th>
</tr>
</thead>
<tbody>
<tr>
<td>ABC</td>
<td>PQR</td>
<td>abc@example.com</td>
</tr>
<tr>
<td>DEF</td>
<td>HIJ</td>
<td>def@example.com</td>
</tr>
<tr>
<td>XYZ</td>
<td>ZXY</td>
<td>xyz@example.com</td>
</tr>
</tbody>
</table>
Firstname | Lastname | |
---|---|---|
ABC | PQR | abc@example.com |
DEF | HIJ | def@example.com |
XYZ | ZXY | xyz@example.com |
<table class="table table-bordered">
<thead>
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Email</th>
</tr>
</thead>
<tbody>
<tr>
<td>ABC</td>
<td>PQR</td>
<td>abc@example.com</td>
</tr>
<tr>
<td>DEF</td>
<td>HIJ</td>
<td>def@example.com</td>
</tr>
<tr>
<td>XYZ</td>
<td>ZXY</td>
<td>xyz@example.com</td>
</tr>
</tbody>
</table>
Output | Code |
---|---|
Rounded Corners :![]() |
|
Image in circle :![]() |
|
Bordered Image :![]() |
|
Responsive Image :![]() |
|
A jumbotron indicates a big grey box for calling extra attention to some special content or information.
Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile-first projects on the web.
This is some text.
This is another text.
<div class="container">
<div class="jumbotron">
<h1>Bootstrap Tutorial</h1>
<p>Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile-first projects on the web.</p>
</div>
<p>This is some text.</p>
<p>This is another text.</p>
<h5>Code:</h6>
</div>