pub fn span<D: Dom>() -> Span<D>
Expand description
Construct the HTML span element
The HTML <span>
element is a generic inline container for
phrasing content, which does not inherently represent anything. It
can be used to group elements for styling purposes (using the
class
or id
attributes), or because they share
attribute values, such as lang
.