Function moxie_dom::elements::text_semantics::span [−][src]
pub fn span() -> SpanBuilder
Expand description
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
.
A function for creating a builder which will accept attributes and produce the element.