Formatting Paragraphs
The HTML procedures provide various paragraph formatting capabilities. To use these procedures, call the appropriate paragraph procedure before the list is created.
The following procedures are available:
| Formatting Type | Beginning Procedure | End Procedure |
|---|---|---|
|
Paragraph break |
html_p |
html_p_end Many HTML constructs imply an end of paragraph; thus, the html_th_end procedure is not needed, but you can use it for completeness. |
|
Line break |
html_br |
NA |
|
Horizontal divider (usually a sculpted line) |
html_hr |
NA |
|
Prevent text wrapping |
html_nobr |
html_nobr_end |
The following code example uses the paragraph formatting procedures to format text into paragraphs:
print 'Here is some normal text' (1,1)
do html_p('ALIGN=RIGHT')
print 'Here is right aligned text' (+1,1)
do html_br(1,'')
print 'and a line break' (+1,1)
do html_p_end
do html_hr('')
do html_nobr('')
print 'A very long line of text that cannot be wrapped' (+1,1)
do html_nobr_end