html_span: Build a 'span' element

View source: R/html.R

html_spanR Documentation

Build a span element

Description

Build a span element

Usage

html_span(..., class = NULL, style = NULL, id = NULL)

Arguments

...

Children: Character, numbers, rtemis_html objects, or lists of those.

class

Optional Character: class attribute. Must be NULL or a single string; collapse multiple classes yourself, e.g. paste(x, collapse = " ").

style

Optional Character: style attribute. Must be NULL or a single string.

id

Optional Character: id attribute. Must be NULL or a single string.

Value

Character of class rtemis_html_element and rtemis_html.

Author(s)

EDG

Examples

html_span("Inline text", style = "color: #16A0AC;")

rtemis.core documentation built on Sept. 20, 2026, 9:06 a.m.