The enhanced 3270 user interface supports
the use of a small subset of HTML tags and some proprietary tags that
can be used to format the text specified using the TEXT keyword
in a subpanel of TYPE=TEXT.
Note that formatting is not required. Freeform text is supported
in these subpanels.
HTML tags
The
enhanced 3270 user interface supports use of
the HTML tags shown in
Table 1.
Table 1. Supported HTML tags
| Type |
Tagging |
Description |
| Heading |
<h1></h1> |
Text enclosed by h1 tags is displayed in all
capitals and is followed by a line break. The text can be centered
using a <center> tag. For example: <h1><center>TEXT
IN CAPS</h1> |
| Paragraph |
<p></p> |
Inserts two line breaks (that is, an empty line)
before the text. |
| Unordered list |
<ul></ul> |
Displays the list items between the tags in
a bulleted list. |
| Ordered list |
<ol></ol> |
Displays the list items between the tags in
a sequentially numbered list. |
| List items |
<li></li> |
Contains the text for an entry in a bulleted
or numbered list. |
| Line break |
<br> |
Forces a line break. Can be used to create an
empty line. |
| Hypertext link |
<a href="panelid"></a> |
Text enclosed by the <a></a> (anchor)
tags is white (selectable) and underlined. Cursoring over the text
and pressing Enter displays the workspace referenced. Only links to
other workspace panels are supported. |
| Emphasis |
<em></em> |
Text enclosed by the tags is underlined. |
| Comment |
<!– –> |
Text is not displayed. |
Spaces between words within tags are preserved, so spaces
can be used to align text.
Additional tags
The enhanced 3270 user interface supports the proprietary
formatting tags shown in Table 2.Table 2. Non-HTML formatting tags
| Type |
Tagging |
Description |
| Color |
<color=color></color> |
Can be placed around any word or element. The
color is in effect until the end tag or the end of the subpanel if
there is no end tag. Any color name supported by the 3270 interface
is supported. |
| Alignment |
<center> |
Centers text. The center alignment is in effect
until the end tag for the element. |
Example
The following example shows the use
of the TEXT keyword to specify the text to appear in the subpanel.
/********************************************************************/
/*
/* TEXT SUBPANEL
/*
/********************************************************************/
<WORKSPACE>
<SUBPANEL>
TYPE=TEXT
HEADER='Help for &INSPECT'
TEXT='<h1><center>This is a centered H1 Header</h1>
<br>
Welcome to SYSPLEX <color=yellow>&ZSYSPLEX</color>.
<WORKSPACEEND>