NextIndexPrevious

Programs in Bootstrap

9. Bootstrap panels example.

<html>
<head>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<script src="js/jquery.min.js"></script>
</head>
<body>

<div class="col-md-4">
	<div class="panel panel-default">
  		<div class="panel-heading">
    		<h3 class="panel-title">Panel title</h3>
  		</div>
  		<div class="panel-body">
    		Panel content
  		</div>
  	</div>      
</div>

<div class="col-md-4">
	<div class="panel panel-primary">
  		<div class="panel-heading">
    		<h3 class="panel-title">Panel title</h3>
  		</div>
  		<div class="panel-body">
    		Panel content
  		</div>
  	</div>      
</div>

<div class="col-md-4">
	<div class="panel panel-info">
  		<div class="panel-heading">
    		<h3 class="panel-title">Panel title</h3>
  		</div>
  		<div class="panel-body">
    		Panel content
  		</div>
  	</div>      
</div>

<script src="js/bootstrap.min.js"></script>
</body>
</html>

Output :

Panel title

Panel content

Panel title

Panel content

Panel title

Panel content




Father of JavaScript


Brendan Eich

Brendan Eich

Born: 1961, Pennsylvania
Google+