span - Span Content

Combines text, typically for the application of properties.

Category

Core Controls

Syntax

<xp:span attributes>content</xp:span>

Usage

At run time, the content of the span appears on the page with any assigned properties.

Typically you do not apply this control directly. If you highlight text on a page and apply a property such as bold, a span is automatically created.

To work directly with a space, source mode is best.

Examples

Here a Span control is used to bold text:
<xp:span id="span1" style="font-weight:bold">
	Now is the time.
</xp:span>