Bootstrap Tutorial - Mark panel title








The following code shows how to mark panel title.

Example

<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
  src='http://code.jquery.com/jquery-git2.js'></script>
<link rel="stylesheet" type="text/css"
  href="http://getbootstrap.com/assets/css/docs.css">
<link rel="stylesheet" type="text/css"
  href="http://getbootstrap.com/dist/css/bootstrap.css">
<script type='text/javascript'
  src="http://requirejs.org/docs/release/2.1.8/minified/require.js"></script>
<style type='text/css'>
.panel-success>.panel-footer {
  color: #468847;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}<!--   ww  w  .  j  a va2  s. c  o  m-->

.panel-heading>.table, .panel-heading>.table th {
  margin: 0px;
  border: 0px;
}
</style>
</head>
<body style='margin:30px'>
  <h3>Heading Panel with Title</h3>
  <div class="panel panel-success">
    <div class="panel-heading">
      <h3 class="panel-title">Panel Title</h3>
    </div>
    <div class="panel-body">Panel content</div>
  </div>
</body>
</html>

Click to view the demo