B

class B(text: TextInterface, attributes: Attributes = Attributes(), classes: AttributeInterface = EmptyAttribute()) : AbstractTagBuilder<TagInterface> , BInterface

In HTML, the <b> tag is used to apply bold formatting to text. It is one of the formatting tags in HTML used for styling content. When text is enclosed within <b> tags, it renders as bold text in most web browsers. However, it's important to note that the <b> tag is a presentational element, meaning it defines how the text should appear rather than what it represents semantically.

(ChatGPT, February 23, 2024)

Constructors

Link copied to clipboard
constructor(text: TextInterface, attributes: Attributes = Attributes(), classes: AttributeInterface = EmptyAttribute())

Functions

Link copied to clipboard
open override fun build(): TagInterface
Link copied to clipboard
fun string(): String