INPUT /  OUTPUT /  LANGUAGE





span tag

Presentation container tag

Styles a stretch of content within the flow of the surrounding text.

Sample usage

Fields

Primary field

Presentation container field

The content of the span: text, values and other presentation tags.

Secondary fields

Behaviour

A span's content flows with the text around it: if it reaches the end of a line, it wraps onto the next line along with the surrounding text. A span has no box of its own unless it is given a border or a background colour.

Notes

Named spans are the usual way to display a value that changes, such as a score or a status message: create the span once, then assign new contents to it.

See also