Span
class Span(attributes: Attributes, classes: ClassesInterface, children: List<InlineTagInterface>) : AbstractTagBuilder<TagInterface> , SpanInterface
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)