Skip to content

Span

Surround text by styling options.

Child elements

A, Action, B, Br, CopyOf, HTML, I, Ol, Span, U, Ul, Value

Parent elements

A, B, I, Li, Paragraph, Span, U

Attributes

class (text, optional)
CSS class for this element.
id (text, optional)
CSS id for this element.
style (text, optional)
Set the CSS style.

Example

<StyleSheet>
  .green { background-color: lightgreen; }
</StyleSheet>

<Record match="data">
  <PlaceObject>
    <TextBlock>
      <Paragraph>
        <Span class="green"><Value>green</Value></Span>
      </Paragraph>
    </TextBlock>
  </PlaceObject>
</Record>

See also