Span

In HTML, the <span> tag is an inline element used to apply styling or manipulate specific portions of text within a larger block of content. Unlike block-level elements (e.g., <div>, <p>), the <span> tag does not add any line breaks before or after the element, but rather applies styles or behavior directly to the content within it.

(ChatGPT, February 26, 2024)

Constructors

Link copied to clipboard
constructor(vararg children: InlineTagInterface)
constructor(attributes: Attributes, vararg children: InlineTagInterface)
constructor(attributes: Attributes, classes: ClassesInterface, vararg children: InlineTagInterface)
constructor(classes: ClassesInterface, vararg children: InlineTagInterface)
constructor(classes: ClassesInterface, children: List<InlineTagInterface>)
constructor(attributes: Attributes, classes: ClassesInterface, children: List<InlineTagInterface>)

Functions

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