The span tag is a synonym for stylerun and so it accepts the same attributes as stylerun tags. It is commonly used with a style attribute. Depending on the browser being used, however, the richtext editors may destroy the font or color specified in the style attribute. Therefore it is usually better to use a font tag. The only reason SPAN is mentioned here is that if you use the richtext editor in GUI mode to style your text, and then move to the tags mode, you will probably see SPAN tags.
Span is also sometimes used, with a fixedwidth attribute, when you need to simulate tabs or insert a large blank space in your text. But Font or Stylerun would work equally well in this case.
Below is the list of accepted style segments; they are expressed in the span tag in the style attribute, concatenated together with semicolons, like this: <SPAN style="font-face: Arimo; font-size: 10pt; color: red">
Style segment
Notes
font-size
The font size for subsequent content. Works like the fontsize attribute of the FONT tag.
font-face
The font to use for subsequent content. Must be one of the 14 standard PDF fonts, or a font you have uploaded into assets. Depending on the browser you use, the font may be lost when you return to the rich editor.
color
This tag is used to indicate quotations. Block quotes are indented on the left and right relative to thesurrounding text. The tag accepts the following attributes.
This tag is used to indicate preformatted text. Spaces and line breaks are preserved.
HTML Entities
HTML Styled text accepts all common HTML entities, should you need to use them. The most commonly used are:
HTML entity
non-breaking space – HTML automatically collapses multiple spaces into one. Therefore, when you need a short blank area of several spaces’ width, you should string together multiple uses of Example: will yield a blank area the width of three spaces.
©
copyright symbol ©
<
less-than symbol <
>
greater-than symbol >
Trouble logging in? Simply enter your email address OR username in order to reset your password.
For faster and more reliable delivery, add support@aleyant.com to your trusted senders list in your email software.