z/OS ISPF Dialog Tag Language Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Headings

z/OS ISPF Dialog Tag Language Guide and Reference
SC19-3620-00

The Hn (heading) tag allows you to place headings in an information region. You use these headings to define topics and subtopics of information. You can define four levels of headings:
H1
Centers text in the information region. Use this heading level to identify a main topic of information.
H2, H3, H4
Formats text against the left margin of the information region. Use one of these heading levels to identify subtopics of information.

You must code headings sequentially. The conversion utility adds a blank line to the information region before and after the formatted heading text. The heading tags have no attributes associated with them, and they don’t require an end tag.

Here is markup that contains an information region using two heading levels and paragraphs following each one.
<!doctype dm system>
<panel name=infopan3 width=42>Information
  <area>
    <info width=40>
      <h1>A Main Topic
      <p>Notice how the heading is in the
      center of the information region?
        <h2>A Subtopic
        <p>This heading is left-justified.
        <h2>Another Subtopic
        <p>Here's another level-two heading.
    </info>
  </area>
</panel>

Here is the formatted result:

Figure 1. Headings (H1-H2)
               Information

               A Main Topic

 Notice how the heading is in the center
 of the information region?

 A Subtopic

 This heading is left-justified.

 Another Subtopic

 Here's another level-two heading.







 

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014