--- name: bootstrap-content description: This skill should be used when the user asks about Bootstrap typography, "how do I style text in Bootstrap", "show me Bootstrap heading styles", "Bootstrap text looks wrong", "text not wrapping in Bootstrap", "how to create responsive tables", "Bootstrap table not responsive", "Bootstrap table overflowing on mobile", "how do I format code blocks", "Bootstrap images not responsive", "why is my Bootstrap image not scaling", "how to center images in Bootstrap", "image thumbnail not working", "how to add figure captions", "figure caption not showing", display headings, lead text, text alignment, text formatting, tables, table styling, responsive images, figures, code blocks, blockquotes, lists, abbreviations, horizontal rules, Reboot CSS reset, or when help is needed styling text, tables, images, and other content elements in Bootstrap. --- # Bootstrap 5.3 Content Bootstrap provides typography, image, table, and other content styles built on top of Reboot, a normalized baseline. ## Reboot Bootstrap Reboot normalizes default browser styles for consistent cross-browser rendering. It provides a foundation for the typography and content styles that follow. ### Code Elements ```html

Use <section> for page sections.

<p>Sample text here...</p>
<p>And another line.</p>
y = mx + b

Press Ctrl + C to copy.

Or type cd to change directory.

Ctrl + Shift + P This text is meant to be sample output from a program. ``` ### Address ```html
Company Name
123 Main Street
City, State 12345
P: (123) 456-7890
Full Name
email@example.com
``` ### Horizontal Rules ```html



``` ### Abbreviations ```html

HTML is the foundation of the web.

CSS for styling.

``` See `references/reboot-reference.md` for CSS variables, page defaults, native font stack, and Sass customization options. ## Typography ### Headings Standard HTML headings with Bootstrap styling: ```html

h1. Bootstrap heading

h2. Bootstrap heading

h3. Bootstrap heading

h4. Bootstrap heading

h5. Bootstrap heading
h6. Bootstrap heading

h1 styled paragraph

h3 styled paragraph

``` ### Display Headings Larger, more opinionated headings: ```html

Display 1

Display 2

Display 3

Display 4

Display 5

Display 6

``` ### Lead Text Make a paragraph stand out: ```html

This is a lead paragraph. It stands out from regular paragraphs.

``` ### Inline Text Elements ```html Highlighted text Deleted text Strikethrough (no longer accurate) Inserted text Underlined text Fine print Bold text Italicized text ``` ### Text Utilities ```html

fs-1 text (2.5rem)

fs-2 text (2rem)

fs-3 text (1.75rem)

fs-4 text (1.5rem)

fs-5 text (1.25rem)

fs-6 text (1rem)

Bold text

Bolder text

Semibold text

Medium text

Normal text

Light text

Lighter text

Italic text

Normal style text

Line height 1

Small line height (1.25)

Base line height (1.5)

Large line height (2)

Underlined

Line through

No decoration

``` ### Text Alignment ```html

Left aligned (LTR)

Center aligned

Right aligned (LTR)

Responsive alignment

``` ### Text Wrapping and Overflow ```html

Wrapping text

No wrap text

Truncated text with ellipsis...

Break long words

``` ### Blockquotes ```html

A well-known quote, contained in a blockquote element.

``` ### Lists ```html ``` ### Text Transform ```html

LOWERCASED TEXT

uppercased text

capitalized text

``` ### Monospace Font ```html

This is in monospace

``` ### Reset Color ```html

Muted text with a reset link.

``` ### Customizing Headings Add secondary, faded text to headings: ```html

Fancy display heading With faded secondary text

Display heading Secondary text

``` ### Responsive Font Sizes Bootstrap 5 enables RFS (Responsive Font Sizes) by default, automatically scaling `font-size` based on viewport dimensions. See `references/typography-reference.md` for RFS details and Sass customization options. ## Images ### Responsive Images ```html Responsive image ``` ### Image Thumbnails ```html Thumbnail ``` ### Aligning Images ```html Left aligned Right aligned Centered ``` ### Picture Element ```html Responsive ``` ## Tables ### Basic Table ```html
# Name Email
1 John john@example.com
``` ### Table Variants ```html ...
...
...
...
...
...
...
...
``` ### Table Styles ```html ...
...
...
... ...
...
...
...
``` ### Table Head Variants ```html ...
# Name
...
# Name
``` ### Table Group Dividers Add a thicker border between table sections: ```html
# Name
1 John
``` ### Table Captions ```html ......
List of users
......
List of users
``` ### Table Footer ```html
Item Price
Product A $10.00
Total $10.00
``` ### Responsive Tables ```html
...
...
``` ### Vertical Alignment ```html
...
``` ## Figures ```html
...
A caption for the image.
...
Right-aligned caption.
``` ## Additional Resources ### Reference Files - `references/reboot-reference.md` - CSS variables, page defaults, native font stack, Sass customization - `references/typography-reference.md` - Complete text utilities, RFS details, Sass customization - `references/images-reference.md` - Complete image class reference and Sass customization - `references/tables-reference.md` - Complete table class reference - `references/figures-reference.md` - Complete figure class reference ### Example Files - `examples/reboot-elements.html` - Code, kbd, var, samp, abbr, hr elements - `examples/typography-patterns.html` - Typography, headings, text utilities - `examples/images-patterns.html` - Responsive images and alignment - `examples/tables.html` - Table styling and variants - `examples/figures-patterns.html` - Figure and caption patterns