Add a heading with .panel-heading
. Want to use a <h1>
- <h6>
, add .panel-title
for a pre-styled heading.
<div class="panel panel-default">
<div class="panel-heading">
Panel without a title
</div>
<div class="panel-body">
Basic panel example
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Panel with a title</h3>
</div>
<div class="panel-body">
Basic panel example
</div>
</div>