Display headings are not meant to replace the standard HTML heading tags, they are a stand out alternative for eye-catching titles.

d1(...)

d2(...)

d3(...)

d4(...)

Arguments

...

Any number of character strings or tag elements or named arguments passed as HTML attributes to the parent element.

See also

Other components: alert(), badge(), blockquote(), card(), collapsePane(), dropdown(), img(), jumbotron(), modal(), navContent(), popover(), pre(), toast()

Examples

### d1 d1("Eye-catching!")
#> <h1 class="display-1">Eye-catching!</h1>
### d2 d2("Just incredible")
#> <h1 class="display-2">Just incredible</h1>
### d3 d3("Wowie, zowie")
#> <h1 class="display-3">Wowie, zowie</h1>
### d4 d4("You'll never guess what happens next.")
#> <h1 class="display-4">You'll never guess what happens next.</h1>