10.2.1

Table Of Contents
Specifying colors
When specifying colors, you can use named Web colors such as "Silver" and
"MediumSlateBlue" by name. You can also use RGB colors by specifying their
hexadecimal values. For example:
<RICHTEXT COLOR="Teal" MERGE="false" BOLD="true">This text is
teal.</RICHTEXT>
<FRAME COLOR="#006699" GAPCOLOR="#996600" WIDTH="7"/>
Creating and using hyperlinks
There are three types of hyperlink:
Web (WWWURL).
Anchor (ANCHOR). You must define Anchor hyperlinks at the <LAYOUT> level.
Page (PAGE). You must define Anchor hyperlinks at the <LAYOUT> level.
Web hyperlinks
You must define Web hyperlinks at the <PROJECT> level. For example, to create a Web
hyperlink named Quark-dot-com, you could add the following as a child of the
<PROJECT> element:
<HYPERLINK HLTYPE="WWWURL" NAME="Quark-dot-com"
TARGET="http://www.quark.com"/>
To add a Web hyperlink to a layout, add HYERLINKREF and HLTYPE attributes to a
<BOX> or <RICHTEXT> element. For example, to use the Quark-dot-com hyperlink
defined above, you could do something like this:
<RICHTEXT>this is a hyperlink to </RICHTEXT>
<RICHTEXT COLOR="Cyan" UNDERLINE="true" HYPERLINKREF="Quark-dot-com"
HLTYPE="WWWURL">quark.com</RICHTEXT>
You can use a Web hyperlink without creating it at the <PROJECT> level, but this is
not the preferred method.
Anchor hyperlinks
To indicate the target of an Anchor hyperlink, use a <RICHTEXT> element like this:
<RICHTEXT HLANCHORREF="MyAnchor" />
To make sure the Anchor hyperlink works correctly, add something like this to the
<LAYOUT> element:
<HYPERLINK HLTYPE="ANCHOR" TARGET="#somewhere" />
To link to this Anchor hyperlink, use something like this:
<RICHTEXT HLTYPE="ANCHOR" HYPERLINKREF="#somewhere">link</RICHTEXT>
You can use an Anchor hyperlink without creating it at the <PROJECT> level, but this
is not the preferred method.
Page hyperlinks
To make sure a Page hyperlink works correctly, add something like this to the <LAYOUT>
element:
<HYPERLINK HLTYPE="PAGE" NAME="Page 2" TARGET="2" />
A GUIDE TO QUARKXPRESS SERVER 10.2.1 | 143
USING QUARKXPRESS SERVER