Service Request Catalog HTML tag support

Service Manager supports a variety of HTML tags as part of the Service Catalog. However, Service Request Catalog supports only a subset of the HTML tags. Therefore, we recommend that you refine the Service Catalog in Service Manager to ensure that catalog items are rendered as expected in Service Request Catalog. The following table shows the tags that are supported in Service Request Catalog.

Note HTML tags that are not listed in the following table are not supported.

Tag Description
Anchor

The <a> tag creates a hypertext link, and supports the following attributes:

  • target: This attribute is ignored by Service Request Catalog. By default, all URLs are opened in a new browser window to prevent Service Request Catalog from being unloaded.
  • href: Specifies a URL. The URL can be either absolute or relative to the location of main.jsp of Service Request Catalog. An example of an absolute reference to a URL is http://www.microfocus.com; an example of a relative reference is index.html.

    Note You must prefix a URL with http(s):// to designate it as an absolute URL. Otherwise, Service Request Catalog treats it as a relative URL.

Bold The <b> tag renders text as bold.
Break The <br> tag creates a line break in the text.
Emphasis The <em> tag displays the tagged text in italics. An italic typeface must be available for the font used.
Font tag

The <font> tag specifies a font or list of fonts to display the text. The font tag supports the following attributes:

  • color: Only hexadecimal color (#FFFFFF) values are supported.
  • face: Specifies the name of the font to use. You can specify a list of comma-delimited font names, in which case Service Request Catalog selects the first available font. If the specified font is not installed on the local computer, Service Request Catalog selects a substitute font.
  • size: Specifies the size of the font. The valid value is an integer between 1 and 7; or a relative increase from base font size 3 (for example, “+1” means 4 and “-2” means 1). All relative sizes also belong to the scale of 1 to 7.
  • letterspacing: Specifies the tracking (manual kerning) in pixels to be applied to the right of each character.
  • kerning: Specifies whether kerning is enabled or disabled. A non-zero value enables kerning, while zero disables it.
Image

The <img> tag lets you embed external image files (JPEG, GIF, PNG) and SWF movies inside text. The img tag supports the following attributes:

  • src: Specifies the URL to an image or SWF file. This attribute is required; all other attributes are optional. The images or SWF movies do not show until they are downloaded completely.

    Note Embedded SWF movies cannot access the network unless there’s no sandbox security violation.

  • width: The width of the image being inserted, in pixels.

  • height: The height of the image being inserted, in pixels.

Italic The <i> tag displays the tagged text in italics. An italic typeface must be available for the font used.
List

The <ol> tag (ordered list) and <ul> tag (unordered list) are rendered in an identical manner except that ordered list items are numbered and unordered list items are not. Both types of lists are made up of sequences of list items defined by the <li> tag (list item). Service Request Catalog does not support any attributes of the list tags. Lists can be nested as shown in the following examples:

<ul>
     <li> ... level one, number one... </li>
     <ol> 
        <li> ... level two, number one... </li>
        <li> ... level two, number two... </li>
        <ol> 
           <li> ... level three, number one... </li>
        </ol> 
        <li> ... level two, number three... </li>
     </ol> 
     <li> ... level one, number two... </li>
</ul>
Strike The <s> and <strike> tags render strike-through style text.
Strong The <strong> tag renders text as bold.
Paragraph

The <p> tag creates a new paragraph. The <p> tag supports the following attributes:

  • align: Specifies alignment of text within the paragraph; valid values are left, right, justify, and center.
Text format tag

The <textformat> tag is not a standard HTML tag but a customized tag in Service Request Catalog. It lets you use a subset of paragraph formatting attributes including the following:

  • indent: Specifies the indentation from the left margin to the first character in the paragraph. Both positive and negative numbers are acceptable.
  • blockindent: Specifies the indentation applied to all lines of the paragraph.
  • leftmargin: Specifies the left margin of the paragraph, in points.

  • rightmargin: Specifies the right margin of the paragraph, in points.
  • leading: Specifies the leading (line height) measured in pixels between a line's ascent and the previous line's descent.
Underline tag The <u> tag underlines the tagged text.