A basic guide to semantic markup, including proper usage examples.
The paragraph above is styled with .lead to make it stand out. It’s important to use keywords strategically in the page title, section headings, and lead paragraph without overdoing it. Make sure the content remains readable and is not overly repetitive.
Page Header
The header above is formatted as Heading 1. It is advised to use only one Heading 1 element per page, so reserve it for the page title.
Second-Level Header
The header above is formatted as Heading 2. Use it for major section headings. More than one may be used per page.
Third-Level Header
The header above is formatted as Heading 3, which may be used for headings below a Heading 2.
Fourth-Level Header
The header above is formatted as Heading 4, which may be used for headings below a Heading 3.
Fifth-Level Header
The header above is formatted as Heading 5, which may be used for headings below a Heading 4.
Sixth-Level Header
The header above is formatted as Heading 6, which may be used for headings below a Heading 5.
Paragraphs
Use the Enter key to create another paragraph, or Shift + Enter to create a line break in the current paragraph.
Content can also be styled as
Code, Danger, Info, Muted, Primary, Small, Success, and Warning.
Blockquote
Hello, world!
This is a template for a simple marketing or informational website. It includes a large callout and supporting content. Use it as a starting point to create something more unique.
Buttons
Bootstrap 5 does not include .btn-xs. Use .btn-sm or create a project-specific extra-small button
class.
Alerts
You successfully read this important alert message.
This alert needs your attention, but it is not critically important.
Check the information before continuing.
Change a few things and try submitting again.
Progress bars
List groups
- Cras justo odio
- Dapibus ac facilisis in
- Morbi leo risus
- Porta ac consectetur ac
- Vestibulum at eros
List group item heading
Donec id elit non mi porta gravida at eget metus.
Maecenas sed diam eget risus varius blandit.
List group item heading
Donec id elit non mi porta gravida at eget metus.
Maecenas sed diam eget risus varius blandit.
List group item heading
Donec id elit non mi porta gravida at eget metus.
Maecenas sed diam eget risus varius blandit.
Cards
Card title
Primary card
Success card
Info card
Warning card
Danger card
Utility panel
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas
sed diam eget risus varius blandit sit amet non magna. Praesent
commodo cursus magna, vel scelerisque nisl consectetur et. Cras
mattis consectetur purus sit amet fermentum. Duis mollis, est non
commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem
nec elit.