<SPAN>
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: Helvetica; font-size: 10pt; color: red">
|
|
font-size |
|
font-face |
|
color |
|
<BlockQuote>
This tag is used to indicate quotations. Block quotes are indented on the left and right relative to the
surrounding text. The tag accepts the following attributes.
Attribute Notes leftindent
- The left indent for the block of text.
- Distances are measured in the current units. The default is 36 points.
rightindent
- The right indent for the block of text.
- Distances are measured in the current units. The default is 36 points.
<Pre>
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 |
Notes |
|
|
© |
|
< |
|
> |
greater-than symbol > |
Previous Chapter: Chapter 33 - HTML Tags for Field Scripting
Next Chapter: Chapter 35 - vbScript Field Scripting Reference