` with a class for your type of panel (class `panel panel-default` or something similar, see the panel examples for more information.) and then two nested `
` tags, one for the heading (class `panel panel-heading`) and one for the body (class `panel panel-body`). You may find that the Code Example is easier to understand than a written explanation.
**Code Example**
```html
Panel Header
This is a panel with the primary panel style.
```
#### Panel Examples:
This is a set of examples that shows each type of panel. The CSS Class is displayed above each example.
- default
```html
Panel Default Header
This is a panel with the default panel style.
```
- primary
```html
Panel Primary Header
This is a panel with the primary panel style.
```
- success
```html
Panel Success Header
This is a panel with the success panel style.
```
- info
```html
Panel Info Header
This is a panel with the info panel style.
```
- warning
```html
Panel Warning Header
This is a panel with the warning panel style.
```
- danger
```html
Panel Danger Header
This is a panel with the danger panel style.
```
### More Information
- [Bootstrap dropdown documentation](https://getbootstrap.com/docs/4.0/components/dropdowns/)
- [Panels have been replaced with the "card" class in Bootstrap 4](https://getbootstrap.com/docs/4.0/components/card/)
- [Bootstrap v4.0.0 Migration Panels](https://getbootstrap.com/docs/4.1/migration/#panels/)