SUBROUTINE TAG_S
INCLUDE #RW.INCLUDE.DEFS FROM /SYSFILES/REALWEB,BP
EQU LF TO CHAR(10)
CALL RW_START_HTML_PAGE("RWS_TAG Example", "", "", "", "")
TEXT = "This paragraph contains "
WORD = "superscripted"
CALL RWS_TAG(WORD, "sup", 'style="font-size: small"')
TEXT = TEXT : WORD
TEXT = TEXT : " and "
WORD = "subscripted"
CALL RWS_TAG(WORD, "small", "")
CALL RWS_TAG(WORD, "sub", "")
TEXT = TEXT : WORD
TEXT = TEXT : " text."
CALL RWS_PARA(TEXT, "", "")
CALL RW_PUT(TEXT)
CALL RW_END_PAGE
RETURN
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="Reality">
<TITLE>RWS_TAG Example</TITLE>
</HEAD>
<BODY>
<P>
This paragraph contains <sup style="font-size: small">superscripted</sup>
and <sub><small>subscripted</small>
</sub>
text.
</P>
</BODY>
</HTML>
NEC welcomes your feedback on our documentation.
If you have any comments about the current Reality Help, or want something to be added in a future revision, please contact your NEC Helpdesk.
If your comment relates to this particular Help topic, remember to include the following information:
|
Product:
|
RealityVersion 15.6
|
|
Help revision:
|
Revision 0
|
|
Help topic:
|
RWS_TAG Example (RealWeb)
|
|
File name:
|
TAG_S.htm
|